#block-cipher #stream-cipher #traits

no-std cipher

Traits for describing block ciphers and stream ciphers

13 releases

0.5.0-pre.7 Aug 14, 2024
0.5.0-pre.6 Jul 26, 2024
0.5.0-pre.4 Mar 4, 2024
0.4.4 Mar 9, 2023
0.1.1 Jun 26, 2015

#2135 in Cryptography

Download history 975542/week @ 2024-08-27 1037761/week @ 2024-09-03 971120/week @ 2024-09-10 928783/week @ 2024-09-17 1016968/week @ 2024-09-24 1040878/week @ 2024-10-01 1019019/week @ 2024-10-08 1089886/week @ 2024-10-15 1104155/week @ 2024-10-22 1033189/week @ 2024-10-29 1026177/week @ 2024-11-05 1077245/week @ 2024-11-12 1071842/week @ 2024-11-19 916393/week @ 2024-11-26 1090294/week @ 2024-12-03 957398/week @ 2024-12-10

4,227,532 downloads per month
Used in 4,806 crates (164 directly)

MIT/Apache

110KB
2K SLoC

RustCrypto: Cipher Traits

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status

Traits which define the functionality of block ciphers and stream ciphers.

See RustCrypto/block-ciphers and RustCrypto/stream-ciphers for algorithm implementations which use these traits.

Documentation

Minimum Supported Rust Version

Rust 1.65 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

~225–400KB