- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- 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 |
||
| benches | ||
| chacha20 | ||
| hc-256 | ||
| rabbit | ||
| rc4 | ||
| salsa20 | ||
| .gitignore | ||
| Cargo.toml | ||
| README.md | ||
RustCrypto: stream ciphers
Collection of stream ciphers written in pure Rust.
⚠️ Security Warning: Hazmat!
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 |
💚 | |||
| HC-256 | hc-256 |
💛 | |||
| Rabbit | rabbit |
💛 | |||
| RC4 | rc4 |
💔 | |||
| Salsa20 | salsa20 |
💚 |
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.