RustCrypto/stream-ciphers

Collection of stream cipher algorithms

Rust

326

611 commits

updated Sep 21, 2026

See the code

README

RustCrypto: stream ciphers

Project Chat dependency status Apache2/MIT licensed HAZMAT

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
:green_heart:No known successful attacks
:yellow_heart:Theoretical break: security lower than claimed
:broken_heart: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.

aes-ctr
cfb
cfb8
cryptography
ctr
rust
stream-ciphers

Contributors

tarcieri

348 commits

newpavlov

119 commits

dependabot[bot]

66 commits

sseemayer

10 commits

RustCrypto/stream-ciphers

Collection of stream cipher algorithms

Rust

326

611 commits

updated Sep 21, 2026

See the code

README

RustCrypto: stream ciphers

Project Chat dependency status Apache2/MIT licensed HAZMAT

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
:green_heart:No known successful attacks
:yellow_heart:Theoretical break: security lower than claimed
:broken_heart: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.

aes-ctr
cfb
cfb8
cryptography
ctr
rust
stream-ciphers

Contributors

tarcieri

348 commits

newpavlov

119 commits

dependabot[bot]

66 commits

sseemayer

10 commits

Languages

Rust

100.0%