1
0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2025-01-21 15:50:01 +01:00
BLAKE3/reference_impl
Jack O'Connor 320affafc1 rename the "context string" to the "purpose string"
Apart from being pretty ambiguous in general, the term "context string"
has the specific problem that it isn't clear whether it should be
describing the input or the output. In fact, it's quite important that
it describes the output, because the whole point is to domain-separate
different outputs that derive from the *same* input. To make that
clearer, rename the "context string" to the "purpose string" in
documentation.
2021-02-28 20:05:40 -05:00
..
Cargo.toml add the reference implementation 2019-12-02 17:03:07 -05:00
README.md add comments to the reference impl 2020-01-14 15:22:22 -05:00
reference_impl.rs rename the "context string" to the "purpose string" 2021-02-28 20:05:40 -05: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.