mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-09-21 08:11:36 +02:00
official implementations of the BLAKE3 cryptographic hash function
https://github.com/BLAKE3-team/BLAKE3
2fac7447e0
The previous version of this API called for a key of exactly 256 bits. That's good for optimal performance, but it would mean losing the use-with-other-algorithms property for applications whose input keys are a different size. There's no way for an abstraction over the previous version to provide reliable domain separation for the "extract" step. |
||
---|---|---|
.github/workflows | ||
b3sum | ||
benches | ||
reference_impl | ||
src | ||
test_vectors | ||
.gitignore | ||
build.rs | ||
Cargo.toml | ||
CONTRIBUTING.md | ||
LICENSE | ||
README.md |
BLAKE3
The official Rust implementation of BLAKE3. The b3sum
sub-crate provides a command line interface. SSE4.1 and AVX2
implementations are provided in Rust, enabled by default, with dynamic
CPU feature detection. AVX-512 and NEON implementation are available via
C FFI, controlled by the c_avx512
and c_neon
features. Rayon-based
multi-threading is controlled by the rayon
feature.
Eventually docs will be published on docs.rs. For now, you can build and
view the docs locally with cargo doc --open
.