generateKeyDerivation
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.
Author
Marcus Cvjeticanin
Since
0.2.0
Return
if successful or not in the form of an integer.
Parameters
publicKey
the public key used in the key derivation.
secretKey
the secret key used in the key derivation.
keyDerivation
the buffer to store the generated key derivation.