b2sum is a command-line utility for calculating BLAKE2 checksums. It provides a compact interface for generating cryptographic digests of files and data supplied through standard input, making it suitable for shell scripts and straightforward file verification workflows.
The software supports both BLAKE2b and BLAKE2s. These related cryptographic algorithms are designed for efficient hashing on different kinds of processors, while producing digest values suitable for detecting changes to data. b2sum allows users to select the algorithm and the size of the resulting digest, providing more flexibility than checksum utilities that always use a fixed output length.
Files can be supplied individually or processed together in one invocation. When no filename is given, b2sum reads data from standard input, allowing it to be combined with other commands in a pipeline. Its output identifies the selected algorithm and digest size alongside the calculated hash, helping users interpret the result. The program is particularly suitable for generating BLAKE2 fingerprints without requiring a larger multipurpose hashing application.
This is free and open source software.
Key Features
- Calculates BLAKE2b cryptographic hashes.
- Supports the BLAKE2s algorithm.
- Configurable digest length in bytes.
- Hashes individual files or multiple files in one invocation.
- Reads data from standard input when no filename is specified.
- Displays the selected algorithm and digest size with hash results.
- Suitable for use in command pipelines and shell scripts.
- Cross-platform support – runs on Linux, macOS, Windows, and FreeBSD.
Website: github.com/dchest/b2sum
Support:
Developer: Dmitry Chestnykh
License: MIT License
b2sum is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| CLI Data Hashing Tools | |
|---|---|
| xxHash | Non-cryptographic hash algorithm |
| b3sum | Implementation of the BLAKE3 hash function |
| RHash | Calculate and verify magnet links and various message digests |
| md5sum | Compute and check MD5 message digest; part of GNU Coreutils |
| cfv | Test and create checksum files |
| Jacksum | Work with checksums, CRCs, and message digests |
| md5 | Generate / check MD5 message digest |
| digup | Update md5sum or shasum digest files |
| cksum | Compute and verify file checksums |
| Hashrat | Hash-generation utility |
| Directory Checksum | Recursively calculate checksums for directory contents |
| paq | Fast BLAKE3 hashing tool for files and directories |
| ddgst | Hashing and checksum utility |
| QCalcFileHash | Hash calculator |
| hashdir | Checksum directories and files |
| Hash Calculator | Calculates around 50 cryptographic hashes of strings and files |
| dano | Hashdeep/md5tree for media files |
| sha3sum | Keccak, SHA-3, SHAKE, and RawSHAKE checksum utilities |
| luha | Simple file checksum tool |
| filepack | File hashing and verification |
| bitrat | Fast file checksum tool supporting multiple hash algorithms |
| b2sum | Calculate BLAKE2 checksums |
| Additional tools: | |
| hashit | Generate file hashes quickly |
| hashdeep | Generate and verify file hashes |
| cksfv | Create and check sfv listings using CRC32 checksums |
| cksfv.rs | Reimplements the classic cksfv tool |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.