underivePublicKey
external fun underivePublicKey(derivation: ByteArray, outputIndex: Long, derivedKey: ByteArray, base: ByteArray): Int
Derives a public key from a base key and a key derivation, 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
derivation
the key derivation used in the public key derivation.
outputIndex
the index of the output in the derivation path.
derivedKey
the buffer to store the derived public key.
base
the base key used in the public key derivation.