From ba6f71b09b26237eb06d91a1843728d1f29a3cbc Mon Sep 17 00:00:00 2001 From: Isaak Date: Sun, 19 Feb 2023 13:20:30 +0100 Subject: [PATCH] b3sum: add page (#9838) * b3sum: add page * Update pages/common/b3sum.md Accepting suggested changes Co-authored-by: K.B.Dharun Krishna * Update pages/common/b3sum.md Accepting suggested changes Co-authored-by: K.B.Dharun Krishna * Update pages/common/b3sum.md Accepting suggested changes Co-authored-by: K.B.Dharun Krishna --------- Co-authored-by: K.B.Dharun Krishna --- pages/common/b3sum.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pages/common/b3sum.md diff --git a/pages/common/b3sum.md b/pages/common/b3sum.md new file mode 100644 index 0000000000..14ef8d5f5a --- /dev/null +++ b/pages/common/b3sum.md @@ -0,0 +1,25 @@ +# b3sum + +> Command line utility for calculating BLAKE3 hashes. +> It is similar to Coreutils tools like b2sum or md5sum. +> More information: . + +- 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}}`