derivePublicKey
external fun derivePublicKey(derivation: ByteArray, outputIndex: Long, base: ByteArray, derivedKey: ByteArray): Int
Generates a key pair from a secret key, and stores the result in the provided buffers.
Author
Marcus Cvjeticanin
Since
0.2.0
Return
if successful or not in the form of an integer.
Parameters
derivation
the buffer to store the generated public key.
outputIndex
the buffer to store the generated secret key.
base
the secret key used in the key pair generation.
derivedKey
the secret key used in the key pair generation.