#nacl #libsodium #public-key #x25519 #xsalsa20poly1305

no-std crypto_box

Pure Rust implementation of NaCl’s crypto_box public-key authenticated encryption primitive which combines the X25519 Elliptic Curve Diffie-Hellman function and the XSalsa20Poly1305 authenticated encryption cipher

10 releases (6 breaking)

0.7.2 Mar 21, 2022
0.7.0 Aug 30, 2021
0.6.1 Jul 20, 2021
0.5.0 Oct 16, 2020
0.1.0 Feb 25, 2020

#787 in Cryptography

Download history 2960/week @ 2022-01-26 3178/week @ 2022-02-02 2316/week @ 2022-02-09 2909/week @ 2022-02-16 2421/week @ 2022-02-23 2247/week @ 2022-03-02 3101/week @ 2022-03-09 2654/week @ 2022-03-16 2724/week @ 2022-03-23 2336/week @ 2022-03-30 3349/week @ 2022-04-06 2109/week @ 2022-04-13 6711/week @ 2022-04-20 7913/week @ 2022-04-27 7761/week @ 2022-05-04 6663/week @ 2022-05-11

29,668 downloads per month
Used in 39 crates (12 directly)

Apache-2.0 OR MIT

23KB
249 lines

RustCrypto: crypto_box

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status

Pure Rust implementation of NaCl's crypto_box primitive, providing public-key authenticated encryption which combines the X25519 Diffie-Hellman function and the XSalsa20Poly1305 authenticated encryption cipher into an Elliptic Curve Integrated Encryption Scheme (ECIES).

Documentation

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~3MB
~65K SLoC