BLAKE3

Trying out the BLAKE3 cryptographic hash function (HN discussion).

Let's first install it via cargo .

cargo install b3sum 154.8s BLAKE3 (Bash) Rust

Then we're generating a 1GB file.

head -c 1000000000 /dev/urandom > /tmp/bigfile 8.2s BLAKE3 (Bash) Rust

Hashing it with SHA-2 takes ~7 seconds.

time shasum -a 256 /tmp/bigfile 7.7s BLAKE3 (Bash) Rust

With blake3 only ~0.8s.