Salsa20
Salsa20 is a stream cipher which is designed to support high-performance software implementations.
This crate also contains an implementation of XSalsa20: a variant
of Salsa20 with an extended 192-bit (24-byte) nonce, gated under the
xsalsa20
Cargo feature (on-by-default).
Security Warning
This crate does not ensure ciphertexts are authentic! Thus ciphertext integrity is not verified, which can lead to serious vulnerabilities!
No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.
USE AT YOUR OWN RISK!
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.