[#BIP32Hash]
= BIP32Hash
:mrdocs:

Computes the BIP32 child key derivation hash&period;

== Synopsis

Declared in `&lt;hash&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
BIP32Hash(
    xref:ChainCode.adoc[ChainCode] const& chainCode,
    unsigned int nChild,
    unsigned char header,
    unsigned char const data[],
    unsigned char output[]);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *chainCode*
| The parent chain code&period;
| *nChild*
| The index of the child key being derived&period;
| *header*
| The header byte prepended to the hashed data&period;
| *data*
| The 32&hyphen;byte key material to hash&period;
| *output*
| The 64&hyphen;byte buffer to receive the resulting hash&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
