a BIP32 HD private key or HD public 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, returning a
node
and anetwork
. Decoding errors are returned as strings.If the type of the key is known, use decodeHdPrivateKey or decodeHdPublicKey.