Crates.io | salsa20 |
lib.rs | salsa20 |
version | 0.11.0-pre.2 |
source | src |
created_at | 2016-10-06 21:07:38.107611 |
updated_at | 2024-10-07 18:52:14.503419 |
description | Salsa20 Stream Cipher |
homepage | |
repository | https://github.com/RustCrypto/stream-ciphers |
max_upload_size | |
id | 6753 |
size | 46,307 |
Pure Rust implementation of the Salsa20 Stream Cipher.
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).
This crate does not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly!
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!
Rust 1.65 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
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.