Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 2.98 KB

File metadata and controls

60 lines (41 loc) · 2.98 KB

blake3

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.

Usage

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

Blake3 Options

     Option      Type Description Default
 ‑‑keyed  flag Use 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  string Use the key derivation mode, with the given context string. Cannot be used with --keyed.
 ‑l,
‑‑length 
string The number of output bytes, before hex encoding. 32
 ‑‑no‑mmap  flag Disable memory mapping. Also disables multithreading.
 ‑‑no‑names  flag Omit filenames in the output.
 ‑‑raw  flag Write raw output bytes to stdout, rather than hex. Only a single input is allowed. --no-names is implied.
 ‑‑tag  flag Output checksums in tagged format.
 ‑c,
‑‑check 
flag Read blake3 sums from the input files and check them.
 ‑j,
‑‑jobs 
string The 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      Type Description Default
 ‑h,
‑‑help 
flag Display this message
 ‑o,
‑‑output 
string Write output to instead of stdout.
 ‑q,
‑‑quiet 
flag Skip printing OK for each checked file. Must be used with --check.

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