class Input : Destroyable
(source)
Input of a SHA-256 hash function
fun bytes(): Bytes |
|
fun bytesArray(): ByteArray |
|
fun destroy(): Unit |
|
fun equals(other: Any?): Boolean |
|
static fun fromBytes(bytes: Bytes): Input static fun fromBytes(bytes: ByteArray): Input
Create a SHA256Hash.Input from an array of bytes. |
|
static fun fromHash(hash: Hash): Input
Create a SHA256Hash.Input from a hash. |
|
static fun fromPointer(allocated: Allocated): Input
Create a SHA256Hash.Input from a pointer. |
|
static fun fromSecret(secret: Secret): Input
Create a hash input from a Diffie-Helman secret |
|
fun hashCode(): Int |
|
fun isDestroyed(): Boolean |
|
fun length(): Int |