Crate diem_sdk::crypto::x25519::x25519_dalek
source · Expand description
Note that docs will only build on nightly Rust until
feature(external_doc)
is stabilized.
Structs
- A short-lived Diffie-Hellman secret key that can only be used to compute a single
SharedSecret
. - A Diffie-Hellman public key, corresponding to an
EphemeralSecret
orStaticSecret
key. - The result of a Diffie-Hellman key exchange.
- A Diffie-Hellman secret key that can be used to compute multiple
SharedSecret
s.
Constants
- The X25519 basepoint, for use with the bare, byte-oriented x25519 function. This is provided for people who cannot use the typed DH API for some reason.
Functions
- The bare, byte-oriented x25519 function, exactly as specified in RFC7748.