#x86 #simd #crypto

no-std ppv-lite86

Implementation of the crypto-simd API for x86

16 releases

0.2.17 Nov 4, 2022
0.2.16 Dec 30, 2021
0.2.15 Oct 24, 2021
0.2.10 Nov 2, 2020
0.1.2 Feb 3, 2019

#95 in Cryptography

Download history 1547818/week @ 2023-12-14 996144/week @ 2023-12-21 1102742/week @ 2023-12-28 1617377/week @ 2024-01-04 1668715/week @ 2024-01-11 1794907/week @ 2024-01-18 1734448/week @ 2024-01-25 1822669/week @ 2024-02-01 1825475/week @ 2024-02-08 1802694/week @ 2024-02-15 1915191/week @ 2024-02-22 1974397/week @ 2024-02-29 1872598/week @ 2024-03-07 1882100/week @ 2024-03-14 1931824/week @ 2024-03-21 1512374/week @ 2024-03-28

7,547,557 downloads per month
Used in 13,365 crates (5 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