Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.6 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.6 KB

Curve25519 in Pure Rust

Build Status Documentation License FOSSA Status

Curve25519 is a state-of-the-art Diffie-Hellman function suitable for a wide variety of applications.

Given a user's 32-byte secret key, Curve25519 computes the user's 32-byte public key. Given the user's 32-byte secret key and another user's 32-byte public key, Curve25519 computes a 32-byte secret shared by the two users. This secret can then be used to authenticate and encrypt messages between the two users.

See spec

Usage

in your Cargo.toml file

[dependencies]
curve25519 = { git = "https://github.com/shekohex/curve25519-rs" }

Some Notes

This crate was extracted from rust-crypto crate.

License

All crates licensed under either of

FOSSA Status