#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

#2138 in Cryptography

Download history 1004359/week @ 2024-08-23 972807/week @ 2024-08-30 1007138/week @ 2024-09-06 916696/week @ 2024-09-13 1021540/week @ 2024-09-20 1009766/week @ 2024-09-27 1072031/week @ 2024-10-04 1027208/week @ 2024-10-11 1100018/week @ 2024-10-18 1082012/week @ 2024-10-25 1012709/week @ 2024-11-01 1039152/week @ 2024-11-08 1097802/week @ 2024-11-15 955694/week @ 2024-11-22 1015443/week @ 2024-11-29 1144879/week @ 2024-12-06

4,441,589 downloads per month
Used in 4,790 crates (163 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