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

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

7 releases (breaking)

new 0.6.1 Jul 20, 2021
0.6.0 Apr 30, 2021
0.5.0 Oct 16, 2020
0.4.0 Sep 17, 2020
0.0.0 Feb 25, 2020

#436 in Cryptography

Download history 547/week @ 2021-04-06 652/week @ 2021-04-13 659/week @ 2021-04-20 633/week @ 2021-04-27 608/week @ 2021-05-04 602/week @ 2021-05-11 586/week @ 2021-05-18 599/week @ 2021-05-25 615/week @ 2021-06-01 620/week @ 2021-06-08 890/week @ 2021-06-15 666/week @ 2021-06-22 610/week @ 2021-06-29 577/week @ 2021-07-06 612/week @ 2021-07-13 821/week @ 2021-07-20

2,746 downloads per month
Used in 29 crates (7 directly)

Apache-2.0 OR MIT

105KB
557 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
~62K SLoC