#hash #digest #hashing #blake #crypto

no-std blake-hash

BLAKE hash functions

5 unstable releases

Uses old Rust 2015

0.4.1 Dec 30, 2021
0.4.0 Nov 2, 2020
0.3.2 Oct 21, 2019
0.3.1 Feb 1, 2019
0.2.0 Oct 22, 2018

#1541 in Cryptography

Download history 156/week @ 2024-06-17 147/week @ 2024-06-24 191/week @ 2024-07-01 192/week @ 2024-07-08 225/week @ 2024-07-15 160/week @ 2024-07-22 137/week @ 2024-07-29 320/week @ 2024-08-05 224/week @ 2024-08-12 217/week @ 2024-08-19 168/week @ 2024-08-26 127/week @ 2024-09-02 239/week @ 2024-09-09 81/week @ 2024-09-16 277/week @ 2024-09-23 202/week @ 2024-09-30

807 downloads per month
Used in 8 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.


lib.rs:

BLAKE, the SHA-3 hash finalist based on the ChaCha cipher

Dependencies

~1.2–1.9MB
~35K SLoC