a BIP32 HD private key
an optional object containing an implementation of sha256 to use
Returns the sha256 hash of the provided input.
To incrementally construct a sha256 hash (e.g. for streaming), use init
,
update
, and final
.
a Uint8Array to be hashed using sha256
Generated using TypeDoc
Decode an HD private key as defined by BIP32.
This method is similar to decodeHdKey but ensures that the result is a valid HD private node. Decoding error messages are returned as strings.