#aead #salsa20 #poly1305 #xsalsa20

unmaintained no-std xsalsa20poly1305

DEPRECATED: please use the crypto_secretbox crate

19 releases

0.9.1 May 17, 2023
0.9.0 Aug 1, 2022
0.9.0-pre.2 Jul 20, 2022
0.8.0 Aug 30, 2021
0.3.0 Nov 27, 2019

#8 in #poly1305

Download history 8069/week @ 2023-08-11 6636/week @ 2023-08-18 7158/week @ 2023-08-25 7792/week @ 2023-09-01 7637/week @ 2023-09-08 6836/week @ 2023-09-15 5989/week @ 2023-09-22 6379/week @ 2023-09-29 6741/week @ 2023-10-06 6683/week @ 2023-10-13 7540/week @ 2023-10-20 5939/week @ 2023-10-27 6178/week @ 2023-11-03 6122/week @ 2023-11-10 6223/week @ 2023-11-17 5163/week @ 2023-11-24

24,650 downloads per month
Used in 64 crates (9 directly)

Apache-2.0 OR MIT

17KB
181 lines

RustCrypto: XSalsa20Poly1305

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

🚨 DEPRECATED! 🚨

Please switch to the crypto_secretbox crate.

This crate is deprecated and will not receive further updates.

About

XSalsa20Poly1305 (a.k.a. NaCl crypto_secretbox) is an authenticated encryption cipher amenable to fast, constant-time implementations in software, based on the Salsa20 stream cipher (with XSalsa20 192-bit nonce extension) and the Poly1305 universal hash function, which acts as a message authentication code.

This algorithm has largely been replaced by the newer ChaCha20Poly1305 (and the associated XChaCha20Poly1305) AEAD ciphers (RFC 8439), but is useful for interoperability with legacy NaCl-based protocols.

Documentation

Security Notes

This crate has received one security audit by Cure53 (version 0.8.0), with no significant findings. We would like to thank Threema for funding the audit.

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

~560–770KB
~15K SLoC