Module curve25519

Source
Expand description

Re-exporting Curve25519 implementations.

TODO: Eventually we should probably recommend using this code via some key-agreement trait, but for now we are just re-using the APIs from [x25519_dalek].

Structs§

EphemeralSecret
A curve25519 secret key that can only be used once, and that can never be inspected.
PublicKey
A curve15519 public key.
SharedSecret
A shared secret negotiated using curve25519.
StaticKeypair
A keypair containing a StaticSecret and its corresponding public key.
StaticSecret
A curve25519 secret key that can be used more than once, and whose value can be inspected.