static fun fromBytes(bytes: Bytes): SessionKey (source)static fun fromBytes(bytes: ByteArray): SessionKey (source)
Create a SessionKey from an array of bytes.
The byte array must be of length #length().
bytes - The bytes for the public key.
Return
A public key.