Collection of stream cipher algorithms
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Balazs Horvath c0f2059648 Fix chacha20 dependencies to use git.sly.so instead of local paths
- Fixed cipher dependency from path to git.sly.so
- Fixed rand_core dependency from path to git.sly.so
- Fixed zeroize dependency from path to git.sly.so
- Fixed dev-dependencies cipher and criterion to use git.sly.so
2026-05-04 21:30:06 +02:00
benches chore: sync dependencies (monorepo) 2026-03-31 18:35:35 +02:00
chacha20 Fix chacha20 dependencies to use git.sly.so instead of local paths 2026-05-04 21:30:06 +02:00
hc-256 chore: sync dependencies (monorepo) 2026-04-06 15:20:05 +02:00
rabbit chore: sync dependencies (monorepo) 2026-04-06 15:20:05 +02:00
rc4 chore: sync dependencies (monorepo) 2026-04-06 15:20:05 +02:00
salsa20 chore: sync dependencies (monorepo) 2026-04-06 15:20:05 +02:00
.gitignore chacha20: bring back rand_core support (#333) 2024-04-29 09:01:57 -06:00
Cargo.toml chore: sync dependencies (monorepo) 2026-04-06 15:20:05 +02:00
README.md Update MSRV badges (#559) 2026-03-31 02:57:41 +03:00

RustCrypto: stream ciphers

Project Chat dependency status Apache2/MIT licensed HAZMAT

Collection of stream ciphers written in pure Rust.

Crates in this repository do not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly!

Aside from the chacha20 crate, no crates in this repository have yet received any formal cryptographic and security reviews/audits.

USE AT YOUR OWN RISK!

Crates

Name Crate name Crates.io Docs MSRV Security
ChaCha chacha20 crates.io Documentation MSRV 1.85 💚
HC-256 hc-256 crates.io Documentation MSRV 1.85 💛
Rabbit rabbit crates.io Documentation MSRV 1.85 💛
RC4 rc4 crates.io Documentation MSRV 1.85 💔
Salsa20 salsa20 crates.io Documentation MSRV 1.85 💚

Security Level Legend

The following describes the security level ratings associated with each hash function (i.e. algorithms, not the specific implementation):

Heart Description
💚 No known successful attacks
💛 Theoretical break: security lower than claimed
💔 Attack demonstrated in practice: avoid if at all possible

License

All crates 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.