class SecretKey : Destroyable (source)
A Box secret key.
fun bytes(): Bytes |
|
fun bytesArray(): ByteArray |
|
fun destroy(): Unit |
|
fun equals(other: Any?): Boolean |
|
static fun fromBytes(bytes: Bytes): SecretKeystatic fun fromBytes(bytes: ByteArray): SecretKey
Create a SecretKey from an array of bytes. The byte array must be of length |
|
fun hashCode(): Int |
|
fun isDestroyed(): Boolean |
|
static fun length(): Int
Obtain the length of the key in bytes (32). |