#stream-cipher #traits #arcfour #arc4

no-std rc4

Pure Rust implementation of the RC4 stream cipher

2 unstable releases

0.1.0 Mar 29, 2022
0.0.0 Oct 6, 2016

#2461 in Cryptography

Download history 5248/week @ 2023-11-20 8212/week @ 2023-11-27 7232/week @ 2023-12-04 6644/week @ 2023-12-11 4960/week @ 2023-12-18 1883/week @ 2023-12-25 3369/week @ 2024-01-01 3898/week @ 2024-01-08 2906/week @ 2024-01-15 3940/week @ 2024-01-22 3782/week @ 2024-01-29 3617/week @ 2024-02-05 3298/week @ 2024-02-12 3644/week @ 2024-02-19 2553/week @ 2024-02-26 2137/week @ 2024-03-04

11,779 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

17KB
120 lines

RustCrypto: RC4

Crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat HAZMAT

Pure Rust implementation of the RC4 stream cipher.

Documentation

⚠️ Security Warning

This crate is provided for the purposes of legacy interoperability with protocols and systems which mandate the use of RC4.

However, 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.

USE AT YOUR OWN RISK!

Minimum Supported Rust Version

Rust 1.56 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above

License

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.

Dependencies

~370KB