#block-cipher #stream-cipher #traits #crypto

no-std cipher

Traits for describing block ciphers and stream ciphers

10 releases

0.5.0-pre.4 Mar 4, 2024
0.5.0-pre.2 Jan 10, 2024
0.4.4 Mar 9, 2023
0.4.3 Feb 22, 2022
0.1.1 Jun 26, 2015

#2089 in Cryptography

Download history 813241/week @ 2023-11-27 787765/week @ 2023-12-04 799460/week @ 2023-12-11 730373/week @ 2023-12-18 349738/week @ 2023-12-25 629851/week @ 2024-01-01 776776/week @ 2024-01-08 770714/week @ 2024-01-15 827508/week @ 2024-01-22 836879/week @ 2024-01-29 770734/week @ 2024-02-05 820625/week @ 2024-02-12 794106/week @ 2024-02-19 862329/week @ 2024-02-26 861530/week @ 2024-03-04 331996/week @ 2024-03-11

2,891,767 downloads per month
Used in 3,583 crates (140 directly)

MIT/Apache

100KB
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

~215–380KB