#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

#2176 in Cryptography

Download history 916759/week @ 2024-07-11 952723/week @ 2024-07-18 993964/week @ 2024-07-25 947416/week @ 2024-08-01 1022601/week @ 2024-08-08 949104/week @ 2024-08-15 989439/week @ 2024-08-22 960920/week @ 2024-08-29 1025751/week @ 2024-09-05 967744/week @ 2024-09-12 957397/week @ 2024-09-19 1019436/week @ 2024-09-26 1063931/week @ 2024-10-03 1019381/week @ 2024-10-10 1096806/week @ 2024-10-17 1090434/week @ 2024-10-24

4,478,618 downloads per month
Used in 4,582 crates (157 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