Crypto
Crypto class that loads the C library
Author
Marcus Cvjeticanin
Since
0.2.0
Functions
Link copied to clipboard
Link copied to clipboard
external fun deriveSecretKey(derivation: ByteArray, outputIndex: Long, base: ByteArray, derivedKey: ByteArray)
Derives a secret key from a base key and a key derivation, and stores the result in the provided buffer.
Link copied to clipboard
external fun generateDeterministicViewKeys(publicKey: ByteArray, secretKey: ByteArray, seed: ByteArray)
Generates a deterministic key pair from a seed.
Link copied to clipboard
external fun generateKeyDerivation(publicKey: ByteArray, secretKey: ByteArray, keyDerivation: ByteArray): Int
Generates a key derivation from a public key and a secret key, and stores the result in the provided buffer.
Link copied to clipboard
Generates a key image from a public key and a secret key, and stores the result in the provided buffer.
Link copied to clipboard
Generates a key pair.
Link copied to clipboard