Module nettle::curve25519[][src]

Expand description

Elliptic curve Diffie-Hellman using D.J. Bernstein’s Curve25519.

Constants

CURVE25519_SIZE

Size of the public and private keys in bytes.

Functions

mul

Derive DH shared secret.

mul_g

Derive DH public key.

private_key

Generate a new X25519 private key.