static fun fromBytes(bytes: Bytes!): MasterKey! (source)
Create a MasterKey from an array of bytes.
The byte array must be of length #length().
bytes - Bytes!: The bytes for the key.
Return
MasterKey!: A key, based on the supplied bytes.
static fun fromBytes(bytes: ByteArray!): MasterKey! (source)
Create a MasterKey from an array of bytes.
The byte array must be of length #length().
bytes - ByteArray!: The bytes for the key.
UnsupportedOperationException - If key derivation support is not available.
Return
MasterKey!: A key, based on the supplied bytes.