1
0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2026-03-01 05:36:33 +01:00
BLAKE3/reference_impl
Jack O'Connor 7d6e242636 update to the 2024 edition
While we're taking this MSRV bump, we can also update
`constant_time_eq`, which uses the 2024 edition in its most recent
versions.
2026-01-08 09:13:24 -08:00
..
Cargo.toml update to the 2024 edition 2026-01-08 09:13:24 -08:00
README.md link to ports of the reference implementation 2022-03-04 21:02:18 -05:00
reference_impl.rs format the state matrix better in reference_impl.rs 2024-03-20 15:44:05 -07:00

This is the reference implementation of BLAKE3. It is used for testing and as a readable example of the algorithms involved. Section 5.1 of the BLAKE3 spec discusses this implementation. You can render docs for this implementation by running cargo doc --open in this directory.

This implementation is a single file (reference_impl.rs) with no dependencies. It is not optimized for performance.

There are ports of this reference implementation to other languages: