BLAKE3
the official Rust and C implementations of the BLAKE3 cryptographic hash function
File Explorer
Download Latest Version (.zip)- config.toml
- build_b3sum.py
- ci.yml
- tag.yml
- upload_github_release_asset.py
- main.rs
- unit_tests.rs
- cli_tests.rs
- .gitignore
- Cargo.lock
- Cargo.toml
- LICENSE_A2
- LICENSE_A2LLVM
- LICENSE_CC0
- README.md
- what_does_check_do.md
- bench.rs
- bench.rs
- lib.rs
- test.rs
- build.rs
- Cargo.toml
- cross_test.sh
- README.md
- ContinuousIntegration.cmake
- Examples.cmake
- Testing.cmake
- Utils.cmake
- CMakeLists.txt
- CMakeLists.txt
- .gitignore
- blake3-config.cmake.in
- blake3.c
- blake3.h
- blake3_avx2.c
- blake3_avx2_x86-64_unix.S
- blake3_avx2_x86-64_windows_gnu.S
- blake3_avx2_x86-64_windows_msvc.asm
- blake3_avx512.c
- blake3_avx512_x86-64_unix.S
- blake3_avx512_x86-64_windows_gnu.S
- blake3_avx512_x86-64_windows_msvc.asm
- blake3_dispatch.c
- blake3_impl.h
- blake3_neon.c
- blake3_portable.c
- blake3_sse2.c
- blake3_sse2_x86-64_unix.S
- blake3_sse2_x86-64_windows_gnu.S
- blake3_sse2_x86-64_windows_msvc.asm
- blake3_sse41.c
- blake3_sse41_x86-64_unix.S
- blake3_sse41_x86-64_windows_gnu.S
- blake3_sse41_x86-64_windows_msvc.asm
- blake3_tbb.cpp
- CMakeLists.txt
- CMakePresets.json
- example.c
- example_tbb.c
- libblake3.pc.in
- main.c
- Makefile.testing
- README.md
- test.py
- B3.svg
- BLAKE3.svg
- speed.svg
- Cargo.toml
- README.md
- reference_impl.rs
- ffi_avx2.rs
- ffi_avx512.rs
- ffi_neon.rs
- ffi_sse2.rs
- ffi_sse41.rs
- guts.rs
- hazmat.rs
- io.rs
- join.rs
- lib.rs
- platform.rs
- portable.rs
- rust_avx2.rs
- rust_sse2.rs
- rust_sse41.rs
- test.rs
- traits.rs
- wasm32_simd.rs
- generate.rs
- lib.rs
- Cargo.toml
- cross_test.sh
- test_vectors.json
- main.rs
- build.rs
- Cargo.toml
- main.rs
- Cargo.toml
- release.md
- .git-blame-ignore-revs
- .gitignore
- build.rs
- Cargo.toml
- CONTRIBUTING.md
- LICENSE_A2
- LICENSE_A2LLVM
- LICENSE_CC0
- README.md
# Installation Guide
git clone https://github.com/BLAKE3-team/BLAKE3
Downloads the entire project code from GitHub to your computer.
cd BLAKE3
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Rust (rustup) Rust is required to use cargo.
cargo install b3sum
Builds and installs the package published on crates.io β no need to clone the repo yourself.
Pulled directly from this repo's README.
3. CMake
Mediumcd c
This project's files live in a subfolder, so move into it first.
mkdir build && cd build
Creates a folder to hold the build output and moves into it.
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
make
Compiles the code based on the generated build configuration to produce an executable.
4. Rust
Medium- Git Needed to download the project code from GitHub.
- Rust (rustup) Installing via rustup also installs cargo.
cargo install b3sum
Builds and installs the package published on crates.io β no need to clone the repo yourself.
Pulled directly from this repo's README.
