Module tor_llcrypto::pk::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§
- A short-lived Diffie-Hellman secret key that can only be used to compute a single
SharedSecret
. - A Diffie-Hellman public key
- The result of a Diffie-Hellman key exchange.
- A keypair containing a
StaticSecret
and its corresponding public key. - A Diffie-Hellman secret key that can be used to compute multiple
SharedSecret
s.