Decode a Base58 string to a Buffer. Throws an error if the checksum is invalid.
Decompress a public key. This function takes both compressed and uncompressed public keys, and always returns the decompressed variant.
Encode a Buffer as Base58 string with a checksum applied.
Get the Ethereum address for a public key.
Get the fingerprint from a public key.
Get the index from a derivation path level.
Get the public key for a private key.
Hash a buffer with provided key using HMAC-SHA512.
Returns the Keccak-256 hash of a string, as a hexadecimal string.
Write a number to a Uint8Array with arbitrary length.
Derive a key from a buffer and salt. Defaults to 2048 iterations, 64 byte key length and SHA512 as digest.
Get a Uint8Array for a point.
Add a tweak to a private key. This function throws if the result is invalid.
Get a Uint8Array for a private key.
Add a point to a public key. This function throws if the result is invalid.
Get a Uint8Array for a public key.
Hash a buffer using RIPEMD160.
Hash a buffer using SHA256.
Get the checksummed version of an address.
Generated using TypeDoc
Compress a public key. This function takes both compressed and uncompressed public keys, and always returns the compressed variant.