2018-09-15 13:52:48 +01:00
|
|
|
# b2sum
|
|
|
|
|
|
|
|
> Calculate BLAKE2 cryptographic checksums.
|
2019-06-09 00:05:27 +01:00
|
|
|
> More information: <https://blake2.net/#su>.
|
2018-09-15 13:52:48 +01:00
|
|
|
|
|
|
|
- Calculate the BLAKE2 checksum for a file:
|
|
|
|
|
|
|
|
`b2sum {{filename1}}`
|
|
|
|
|
|
|
|
- Calculate BLAKE2 checksums for multiple files:
|
|
|
|
|
|
|
|
`b2sum {{filename1}} {{filename2}}`
|
|
|
|
|
|
|
|
- Read a file of BLAKE2 sums and filenames and verify all files have matching checksums:
|
|
|
|
|
|
|
|
`b2sum -c {{filename.b2}}`
|
|
|
|
|
|
|
|
- Calculate the BLAKE2 checksum from stdin:
|
|
|
|
|
2019-01-21 10:58:15 +00:00
|
|
|
`{{somecommand}} | b2sum`
|