#nacl #libsodium #x25519 #public-key #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

6 releases (breaking)

0.6.0 Apr 30, 2021
0.5.0 Oct 16, 2020
0.4.0 Sep 17, 2020
0.3.0 Aug 18, 2020
0.0.0 Feb 25, 2020

#273 in Cryptography

Download history 447/week @ 2021-01-21 620/week @ 2021-01-28 459/week @ 2021-02-04 495/week @ 2021-02-11 565/week @ 2021-02-18 462/week @ 2021-02-25 598/week @ 2021-03-04 684/week @ 2021-03-11 735/week @ 2021-03-18 761/week @ 2021-03-25 724/week @ 2021-04-01 541/week @ 2021-04-08 646/week @ 2021-04-15 639/week @ 2021-04-22 649/week @ 2021-04-29 553/week @ 2021-05-06

2,700 downloads per month
Used in 8 crates (5 directly)

Apache-2.0 OR MIT

105KB
555 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