Skip to content

Repository files navigation

RustCrypto: stream ciphers

Project Chatdependency statusApache2/MIT licensedHAZMAT

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

NameCrate nameCrates.ioDocsMSRVSecurity
ChaChachacha20crates.ioDocumentationMSRV 1.85💚
HC-256hc-256crates.ioDocumentationMSRV 1.85💛
Rabbitrabbitcrates.ioDocumentationMSRV 1.85💛
RC4rc4crates.ioDocumentationMSRV 1.85💔
Salsa20salsa20crates.ioDocumentationMSRV 1.85💚

Security Level Legend

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

HeartDescription
💚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.

About

Collection of stream cipher algorithms

Topics

Resources

Security policy

Stars

324 stars

Watchers

8 watching

Forks

Releases

Used by

Contributors

Languages