b2sum
Compute BLAKE2b cryptographic hash of files or stdin as JSON, outputting per-file digests and byte counts. This read-only tool enables integrity verification without side effects.
Instructions
Compute BLAKE2b cryptographic hash of files or stdin as JSON. Read-only, no side effects. Returns per-file hash digests and byte counts. Use for high-speed integrity verification — faster than SHA-2/3 on 64-bit platforms. Not for security-critical contexts where SHA-256 is mandated — use 'sha256sum'. See also 'hash', 'sha256sum'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| check | No | Read checksums from FILE(s) and verify them. | |
| paths | No | Files to hash, or '-' for stdin (omit with --check). | |
| encoding | No | Text encoding (default: utf-8). Use 'auto' for BOM/autodetection. | utf-8 |
| show_encoding | No | Include encoding detection metadata in JSON result. | |
| encoding_errors | No | How to handle encoding errors (default: replace). | replace |
| encoding_profile | No | Locale-aware encoding fallback profile for auto-detection. |