blake3

May 31, 2026 · View on GitHub

Compute or check BLAKE3 hashes of files.

Table of Contents | Source: src/cmd/blake3.rs | 🚀

Description | Usage | Blake3 Options | Common Options

Description ↩

Compute cryptographic hashes of files using blake3.

This command is functionally similar to b3sum, providing fast, parallel blake3 hashing of one or more files. It supports keyed hashing, key derivation, variable-length output, and checksum verification. When no file is given, or when "-" is given, reads stdin.

For examples, see https://github.com/dathere/qsv/blob/master/tests/test_blake3.rs. See also https://github.com/dathere/qsv/wiki/Indexing-Compression-Diff#blake3

Usage ↩

qsv blake3 [options] [<input>...]
qsv blake3 --help

Blake3 Options ↩

     Option     TypeDescriptionDefault
 ‑‑keyed flagUse the keyed mode, reading the 32-byte key from stdin. When using --keyed, file arguments are required (cannot also read data from stdin).
 ‑‑derive‑key stringUse the key derivation mode, with the given context string. Cannot be used with --keyed.
 ‑l,
‑‑length 
integerThe number of output bytes, before hex encoding.32
 ‑‑no‑mmap flagDisable memory mapping. Also disables multithreading.
 ‑‑no‑names flagOmit filenames in the output.
 ‑‑raw flagWrite raw output bytes to stdout, rather than hex. Only a single input is allowed. --no-names is implied.
 ‑‑tag flagOutput checksums in tagged format.
 ‑c,
‑‑check 
flagRead blake3 sums from the input files and check them.
 ‑j,
‑‑jobs 
integerThe number of jobs to run in parallel for hashing. When not set, uses the number of CPUs detected. Set to 1 to disable multithreading.

Common Options ↩

     Option     TypeDescriptionDefault
 ‑h,
‑‑help 
flagDisplay this message
 ‑o,
‑‑output 
stringWrite output to instead of stdout.
 ‑q,
‑‑quiet 
flagSkip printing OK for each checked file. Must be used with --check.

Source: src/cmd/blake3.rs | Table of Contents | README