mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 11:05:58 +02:00

* b3sum: add page * Update pages/common/b3sum.md Accepting suggested changes Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages/common/b3sum.md Accepting suggested changes Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> * Update pages/common/b3sum.md Accepting suggested changes Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
25 lines
610 B
Markdown
25 lines
610 B
Markdown
# b3sum
|
|
|
|
> Command line utility for calculating BLAKE3 hashes.
|
|
> It is similar to Coreutils tools like b2sum or md5sum.
|
|
> More information: <https://github.com/BLAKE3-team/BLAKE3/tree/master/b3sum>.
|
|
|
|
- Calculate the BLAKE3 checksum for a file:
|
|
|
|
`b3sum {{path/to/file}}`
|
|
|
|
- Calculate BLAKE3 checksums for multiple files:
|
|
|
|
`b3sum {{path/to/file1}} {{path/to/file2}}`
|
|
|
|
- Calculate the BLAKE3 checksum from `stdin`:
|
|
|
|
`{{some_command}} | b3sum`
|
|
|
|
- Create a file of BLAKE3 checksums:
|
|
|
|
`b3sum {{path/to/file}} > {{path/to/file.b3}}`
|
|
|
|
- Read and verify a file of BLAKE3 checksums:
|
|
|
|
`b3sum --check {{path/to/file.b3}}`
|