Jay Taylor's notes

back to listing index

BLAKE3-team/BLAKE3: the official Rust and C implementations of the BLAKE3 cryptographic hash function

[web search]
Original source (github.com)
Tags: security c cryptography rust blake3 github.com
Clipped on: 2021-07-26

Skip to content
Image (Asset 1/18) alt= You have unread notifications

Files

Type
Name
Latest commit message
Commit time
yesterday
c
yesterday

Image (Asset 4/18) alt=Usage

The b3sum utility

The b3sum command line utility prints the BLAKE3 hashes of files or of standard input. Prebuilt binaries are available for Linux, Windows, and macOS (requiring the unidentified developer workaround) on the releases page. If you've installed Rust and Cargo, you can also build b3sum yourself with:

cargo install b3sum

If rustup didn't configure your PATH for you, you might need to go looking for the installed binary in e.g. ~/.cargo/bin. You can test out how fast BLAKE3 is on your machine by creating a big file and hashing it, for example:

# Create a 1 GB file.
head -c 1000000000 /dev/zero > /tmp/bigfile
# Hash it with SHA-256.
time openssl sha256 /tmp/bigfile
# Hash it with BLAKE3.
time b3sum /tmp/bigfile

The blake3 crate Image (Asset 5/18) alt=The C implementation

See c/README.md.

Other implementations

We post links to third-party bindings and implementations on the @BLAKE3team Twitter account whenever we hear about them. Some highlights include an optimized Go implementation, Wasm bindings for Node.js and browsers, binary wheels for Python, .NET bindings, and JNI bindings.

Contributing

Please see CONTRIBUTING.md.

Intellectual property

The Rust code is copyright Jack O'Connor, 2019-2020. The C code is copyright Samuel Neves and Jack O'Connor, 2019-2020. The assembly code is copyright Samuel Neves, 2019-2020.

This work is released into the public domain with CC0 1.0. Alternatively, it is licensed under the Apache License 2.0.

Miscellany

About

the official Rust and C implementations of the BLAKE3 cryptographic hash function

Resources

License

Packages

No packages published
Loading complete