gb3sum is a command-line utility for printing and checking BLAKE3 checksums.
gb3sum is written in Go and compiles into a single binary with no external dependencies.
go install github.com/sorairolake/gb3sum@latestThe release page contains pre-built binaries for Linux, macOS, Windows and others.
Please see BUILD.adoc.
echo "Hello, world!" > foo.txt
gb3sum foo.txt | tee b3sums.txtOutput:
94f1675bac4f8bc3c593c63dbf5fe78a0bfda01082af85d5b41a65096db56bff foo.txt
gb3sum -c b3sums.txtOutput:
foo.txt: OK
--generate-completion option generates shell completions to standard output.
The following shells are supported:
bashfishpowershellzsh
Example:
gb3sum --generate-completion bash > gb3sum.bashPlease see the following:
The upstream repository is available at https://github.com/sorairolake/gb3sum.git.
Please see CHANGELOG.adoc.
Please see CONTRIBUTING.adoc.
gb3sum supports a command-line syntax similar but not identical to
coreutils's md5sum.
gb3sumdoesn't have options to specify the input mode (-band-t).gb3sumalways treats files as binary file.gb3sumdoesn't have an option to terminate output lines with NUL (-z).gb3sumhas an option to specify the number of output bytes like coreutils'sb2sum(-l).
Unlike b3sum, gb3sum doesn't support keyed hashing and key derivation.
Use b3sum instead of gb3sum for those purposes.
Copyright (C) 2024 Shun Sakai (see AUTHORS.adoc)
- This program is distributed under the terms of the GNU General Public License v3.0 or later.
- Some files are distributed under the terms of the Creative Commons Attribution 4.0 International Public License.
This project is compliant with version 3.3 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.