Module salty::agreement[][src]

Expand description

99.9% cribbed from x25519-dalek

Structs

PublicKey
SecretKey

A X25519 secret key.

SharedSecret

The result of a Diffie-Hellman key exchange.

Functions

make_255_bit

Construct a Scalar from the low 255 bits of a 256-bit integer.

x25519

Implementations: