class Key : Destroyable
(source)
A HMACSHA512256 secret key.
bytes |
Provides the bytes of this key. fun bytes(): Bytes! |
bytesArray |
Provides the bytes of this key. fun bytesArray(): ByteArray! |
destroy |
fun destroy(): Unit |
equals |
fun equals(other: Any?): Boolean |
fromBytes |
Create a static fun fromBytes(bytes: Bytes!): Key! static fun fromBytes(bytes: ByteArray!): Key! |
hashCode |
fun hashCode(): Int |
isDestroyed |
fun isDestroyed(): Boolean |
length |
Obtain the length of the key in bytes (32). static fun length(): Int |
random |
Generate a random static fun random(): Key! |