#crypto #stream-cipher #trait #arc4 #arcfour

no-std rc4

Pure Rust implementation of the RC4 stream cipher

2 unstable releases

Uses new Rust 2021

0.1.0 Mar 29, 2022
0.0.0 Oct 6, 2016

#214 in Cryptography

Download history 3458/week @ 2022-06-12 3560/week @ 2022-06-19 3875/week @ 2022-06-26 4394/week @ 2022-07-03 2113/week @ 2022-07-10 2283/week @ 2022-07-17 2540/week @ 2022-07-24 3250/week @ 2022-07-31 3111/week @ 2022-08-07 1924/week @ 2022-08-14 5927/week @ 2022-08-21 6240/week @ 2022-08-28 6161/week @ 2022-09-04 6125/week @ 2022-09-11 8026/week @ 2022-09-18 7838/week @ 2022-09-25

28,327 downloads per month
Used in wow_srp

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

~330KB