#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

8 releases (breaking)

0.7.0 Aug 30, 2021
0.6.1 Jul 20, 2021
0.6.0 Apr 30, 2021
0.5.0 Oct 16, 2020
0.1.0 Feb 25, 2020

#677 in Cryptography

Download history 598/week @ 2021-06-30 580/week @ 2021-07-07 683/week @ 2021-07-14 799/week @ 2021-07-21 687/week @ 2021-07-28 741/week @ 2021-08-04 691/week @ 2021-08-11 838/week @ 2021-08-18 749/week @ 2021-08-25 638/week @ 2021-09-01 1014/week @ 2021-09-08 1532/week @ 2021-09-15 1487/week @ 2021-09-22 1228/week @ 2021-09-29 1965/week @ 2021-10-06 1223/week @ 2021-10-13

2,982 downloads per month
Used in 34 crates (9 directly)

Apache-2.0 OR MIT

19KB
155 lines

RustCrypto: crypto_box

crate Docs Apache2/MIT licensed Rust Version CodeCov Status 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
~63K SLoC