#crypto #simd #x86

no-std ppv-lite86

Implementation of the crypto-simd API for x86

15 releases

0.2.16 Dec 30, 2021
0.2.15 Oct 24, 2021
0.2.10 Nov 2, 2020
0.2.8 May 16, 2020
0.1.2 Feb 3, 2019

#45 in Cryptography

Download history 729490/week @ 2022-06-10 733634/week @ 2022-06-17 751422/week @ 2022-06-24 753475/week @ 2022-07-01 773735/week @ 2022-07-08 804271/week @ 2022-07-15 816034/week @ 2022-07-22 842837/week @ 2022-07-29 780316/week @ 2022-08-05 837661/week @ 2022-08-12 805801/week @ 2022-08-19 806466/week @ 2022-08-26 805577/week @ 2022-09-02 824361/week @ 2022-09-09 794334/week @ 2022-09-16 726086/week @ 2022-09-23

3,307,028 downloads per month
Used in 8,615 crates (2 directly)

MIT/Apache

120KB
3.5K SLoC

Cryptocorrosion

Cryptographic algorithms in pure Rust.

The main interface to these crates is the RustCrypto traits.

All crates are no-std compatible.

Minimum Rust version:

  • algorithm crates (with RustCrypto API): 1.41.0
  • support crates: 1.32.0

Build Status

Supported algorithms

Cryptographic hashes

Algo Crate name SIMD
Blake blake-hash [1]
Grøstl groestl-aesni ✔️
JH jh-x86_64 ✔️
Skein skein-hash

[1] SIMD is available for builds with target-cpu/target-feature configured, but runtime CPU detection is not yet supported.

Block ciphers

Algo Crate name SIMD
Threefish threefish-cipher

Stream ciphers

Algo Crate name SIMD
ChaCha c2-chacha ✔️

License

All crates 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.

No runtime deps

Features

  • no_simd
  • simd
  • std