Crates.io | xsalsa20poly1305 |
lib.rs | xsalsa20poly1305 |
version | 0.9.1 |
source | src |
created_at | 2019-10-02 06:31:00.31221 |
updated_at | 2023-05-17 02:38:14.83905 |
description | DEPRECATED: please use the `crypto_secretbox` crate |
homepage | |
repository | https://github.com/RustCrypto/AEADs |
max_upload_size | |
id | 169304 |
size | 35,271 |
Please switch to the crypto_secretbox
crate.
This crate is deprecated and will not receive further updates.
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.
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.
Licensed under either of:
at your option.
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.