#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

#2186 in Cryptography

Download history 951226/week @ 2024-07-29 978967/week @ 2024-08-05 989869/week @ 2024-08-12 964402/week @ 2024-08-19 1012967/week @ 2024-08-26 985530/week @ 2024-09-02 990032/week @ 2024-09-09 921068/week @ 2024-09-16 1013131/week @ 2024-09-23 1025534/week @ 2024-09-30 1052885/week @ 2024-10-07 1053550/week @ 2024-10-14 1103087/week @ 2024-10-21 1042364/week @ 2024-10-28 1045481/week @ 2024-11-04 1057233/week @ 2024-11-11

4,300,741 downloads per month
Used in 4,662 crates (159 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

~220–395KB