Overview of noble-curves capabilities
mainnoble-curves is an audited, minimal, and fast JavaScript implementation of elliptic curve cryptography. It supports a wide range of cryptographic primitives including:
- Signatures: ECDSA, EdDSA, and Schnorr signatures.
- Key Exchange: ECDH (Diffie-Hellman shared secrets).
- Advanced Primitives: BLS signatures (bls12-381, bn254/alt_bn128), hash-to-curve, OPRF, FROST, Poseidon hash, and FFT.
- Curve Types: Weierstrass and Edwards curves.
- Security Features: Non-repudiation (SUF-CMA, SBS) and consensus-friendliness (ZIP215) in ed25519 and ed448.
- WebCrypto: Provides a wrapper with an identical API over native WebCrypto.
Note: For use cases requiring an even smaller attack surface with fewer features, there are 5kb sister projects: secp256k1 and ed25519.