Pure Rust implementation of the RC4 stream cipher.
RC4 is cryptographically broken and unsuitable for further use!
RFC7465 and RFC8758 prohibit the use of RC4 in TLS and SSH protocols respectively, noting that cryptographic weaknesses in the cipher's design make it practical to recover repeatedly encrypted plaintexts.
This crate is provided for the purposes of legacy interoperability with protocols and systems which continue to mandate the use of RC4. It should not be relied on for security/confidentiality.
USE AT YOUR OWN RISK!
Rust 1.81 or higher.
Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.
- All on-by-default features of this library are covered by SemVer
- MSRV is considered exempt from SemVer as noted above
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.