X25519 elliptic curve Diffie-Hellman key exchange in pure-Rust, using curve25519-dalek.


Keywords
curve25519, x25519, cryptography, key-exchange, diffie-hellman, edwards-curve, elliptic-curves, montgomery, ristretto
License
BSD-3-Clause

Documentation

dalek-cryptography logo: a dalek with edwards curves as sparkles coming out of its radar-schnozzley blaster thingies

Dalek elliptic curve cryptography

This repo contains pure-Rust crates for elliptic curve cryptography:

Crate Description Crates.io Docs CI
curve25519‑dalek A library for arithmetic over the Curve25519 and Ristretto elliptic curves and their associated scalars. CI
ed25519‑dalek An implementation of the EdDSA digital signature scheme over Curve25519. CI
x25519‑dalek An implementation of elliptic curve Diffie-Hellman key exchange over Curve25519. CI

There is also the curve25519-dalek-derive crate, which is just a helper crate with some macros that make curve25519-dalek easier to write.

Contributing

Please see CONTRIBUTING.md.

Code of Conduct

We follow the Rust Code of Conduct, with the following additional clauses:

  • We respect the rights to privacy and anonymity for contributors and people in the community. If someone wishes to contribute under a pseudonym different to their primary identity, that wish is to be respected by all contributors.