@noble/* libraries with type safety and a consistent API.
Hashing
Convenience Functions
Incremental Hashing Classes
For large data, use the class API withupdate() for incremental hashing:
Hmac
Secp256k1
Elliptic curve operations for Cosmos, Bitcoin, and Ethereum signing.Types
pubkey. When produced by makeKeypair, the key is always 65 bytes (uncompressed). Use compressPubkey() before passing it to Cosmos nodes, which expect 33-byte compressed keys.
Secp256k1Signature / ExtendedSecp256k1Signature
Ed25519
Edwards-curve digital signature algorithm for fast, deterministic signing.Ed25519 hashes the message internally. Do not pre-hash the message before signing.
BIP-39 Mnemonics
Bip39
EnglishMnemonic
Validates and wraps a BIP-39 English mnemonic string. Throws on invalid input.SLIP-10 HD Key Derivation
Slip10
Path Utilities
Types
Encryption
Xchacha20poly1305Ietf
Authenticated encryption using XChaCha20-Poly1305.
The constant
xchacha20NonceLength is 24.