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