Linux command
b3sum 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Calculate
b3sum [file]
Verify
b3sum -c [checksums.b3]
Example
echo "data" | b3sum
Multiple files
b3sum [file1] [file2] [file3]
Example
b3sum --keyed < [keyfile] [file]
说明
b3sum computes BLAKE3 cryptographic checksums. BLAKE3 is significantly faster than BLAKE2, MD5, SHA-1, and SHA-2, while maintaining high security. It's optimized for parallelism and can fully utilize modern CPU capabilities. The tool provides similar interface to md5sum and sha256sum but with much better performance.
参数
- -c, --check
- Verify checksums from file
- --keyed
- Use keyed hashing mode
- --derive-key _context_
- Key derivation mode
- --length _bytes_
- Output length (default: 32)
- --num-threads _n_
- Number of threads to use
- --no-mmap
- Disable memory mapping
- --no-names
- Omit filenames (output hash only)
FAQ
What is the b3sum command used for?
b3sum computes BLAKE3 cryptographic checksums. BLAKE3 is significantly faster than BLAKE2, MD5, SHA-1, and SHA-2, while maintaining high security. It's optimized for parallelism and can fully utilize modern CPU capabilities. The tool provides similar interface to md5sum and sha256sum but with much better performance.
How do I run a basic b3sum example?
Run `b3sum [file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --check do in b3sum?
Verify checksums from file