#simd #x86 #encryption #crypto #crypto-api

no-std ppv-lite86

Implementation of the crypto-simd API for x86

18 releases

0.2.20 Aug 3, 2024
0.2.19 Jul 30, 2024
0.2.17 Nov 4, 2022
0.2.16 Dec 30, 2021
0.1.2 Feb 3, 2019

#69 in Cryptography

Download history 2146113/week @ 2024-07-20 2327149/week @ 2024-07-27 2341668/week @ 2024-08-03 2418153/week @ 2024-08-10 2395863/week @ 2024-08-17 2434739/week @ 2024-08-24 2355040/week @ 2024-08-31 2413027/week @ 2024-09-07 2241443/week @ 2024-09-14 2575621/week @ 2024-09-21 2620396/week @ 2024-09-28 3109726/week @ 2024-10-05 2968810/week @ 2024-10-12 3033102/week @ 2024-10-19 2492279/week @ 2024-10-26 2481502/week @ 2024-11-02

11,383,366 downloads per month
Used in 15,767 crates (6 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: 1.61.0

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.

Dependencies

~0.9–1.5MB
~26K SLoC