LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
56 stars 6 forks source link

[programming][shell] Fast checksums with BLAKE3 #1140

Open LukeShortCloud opened 5 months ago

LukeShortCloud commented 5 months ago

Install b3sum.

It is widely used across lots of different projects:

Alephium Bazel Chia IPFS Farcaster LLVM Mes Nym OpenZFS Redox Saito Skale Solana Tekken 8 Wasmer

https://gitlab.archlinux.org/pacman/pacman/-/issues/101

Due to hardware acceleration, SHA256 is faster on x86 CPUs for small files. Otherwise, BLAKE3 is the best for large files.

https://forum.solana.com/t/blake3-slower-than-sha-256-for-small-inputs/829