#crypto #simd #x86

no-std ppv-lite86

Implementation of the crypto-simd API for x86

12 releases

0.2.10 Nov 2, 2020
0.2.9 Aug 19, 2020
0.2.8 May 16, 2020
0.2.6 Oct 21, 2019
0.1.2 Feb 3, 2019

#73 in Cryptography

Download history 384112/week @ 2021-02-16 382381/week @ 2021-02-23 373024/week @ 2021-03-02 383740/week @ 2021-03-09 386678/week @ 2021-03-16 402885/week @ 2021-03-23 375640/week @ 2021-03-30 418363/week @ 2021-04-06 409644/week @ 2021-04-13 401822/week @ 2021-04-20 406271/week @ 2021-04-27 393961/week @ 2021-05-04 415232/week @ 2021-05-11 394104/week @ 2021-05-18 394993/week @ 2021-05-25 333441/week @ 2021-06-01

1,686,974 downloads per month
Used in 6,285 crates (2 directly)


3.5K SLoC


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 ✔️


Many of the crates in this project include optimized SIMD implementations, enabled by default on x86-64 by the "simd" feature. The fastest implementation available for your hardware will be automatically selected at runtime, except in no-std builds.

For other hardware platforms, e.g. ARM: an alternative, portable SIMD backend based on the packed_simd crate is available for recent nightly Rust; you can enable it as "packed_simd".

If you'd prefer to minimize usage of unsafe code: disable the "simd" feature to switch to a generic implementation.

feature crate no unsafe rust version build time? performance
simd (default) ppv_lite86 1.27 fast fast
(no simd) ppv_null ✔️ fast slow
packed_simd packed_simd recent nightly slow fast


All crates licensed under either of

at your option.


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


  • no_simd
  • simd
  • std