a BIP32 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
a Uint8Array to be hashed using sha256
Generated using TypeDoc
Decode an HD public key as defined by BIP32.
This method is similar to decodeHdKey but ensures that the result is an HD public node. Decoding error messages are returned as strings.