Computes the BIP32 child key derivation hash.
Synopsis
Declared in <hash.h>
void
BIP32Hash(
ChainCode const& chainCode,
unsigned int nChild,
unsigned char header,
unsigned char const data[],
unsigned char output[]);
Parameters
Name |
Description |
chainCode |
The parent chain code. |
nChild |
The index of the child key being derived. |
header |
The header byte prepended to the hashed data. |
data |
The 32‐byte key material to hash. |
output |
The 64‐byte buffer to receive the resulting hash. |
Created with MrDocs