Skip to main content

Module ecc

Module ecc 

Source
Expand description

Elliptic curve cryptography: ECDSA, EdDSA.

Modulesยง

curve
Elliptic curve point operations on short Weierstrass curves y^2 = x^3 + ax + b.
curves
High-level curve API: Curve trait + per-curve unit structs.
ecdh
Elliptic Curve Diffie-Hellman (ECDH) on short Weierstrass curves.
ecdsa
ECDSA signing / verifying primitives (FIPS 186-5) with deterministic nonces (RFC 6979).
eddsa
EdDSA digital signatures (RFC 8032).
field
Prime field arithmetic for NIST curves P-256 and P-384.
x448
X448 Diffie-Hellman key agreement on Curve448 (RFC 7748).
x25519
X25519 Diffie-Hellman key agreement on Curve25519 (RFC 7748).