class SecretKey : Destroyable
(source)
A SECP256K1 private key.
open fun bytes(): Bytes32 |
|
open fun bytesArray(): ByteArray |
|
open fun destroy(): Unit |
|
open fun equals(other: Any?): Boolean |
|
open static fun fromBytes(bytes: Bytes32): SecretKey
Create the private key from bytes. |
|
open static fun fromInteger(key: BigInteger): SecretKey
Create the private key from a BigInteger. |
|
open fun hashCode(): Int |
|
open static fun load(file: Path): SecretKey
Load a private key from a file. |
|
open fun store(file: Path): Unit
Write the secret key to a file. |