Static
bigintConverts a bigint to a buffer
The bigint to convert
The buffer representation of the bigint
Static
deriveStatic
encodeHelper function to encode a secp256k1 key in SchnorrSecp256k1 Multikey Format
Static
generateStatic
generateStatic
recoverStatic
recoverRecovers an HDKey from a mnemonic phrase
The mnemonic phrase to recover the HDKey from
Optional
seed: Uint8Array<ArrayBufferLike>Optional seed to recover the HDKey from
Promise resolving to the recovered HDKey
Static
recoverStatic
recoverStatic
XNORUntweak the entropy with a salt using XNOR
The tweaked entropy to untweak
The salt to untweak the entropy with
The original entropy
Static
XORTweak the entropy with a salt using XOR
The entropy to tweak
The salt to tweak the entropy with
The tweaked entropy
Static class of general utility functions for the did-btc1 spec implementation GeneralUtils