Forrest logo
tool overview
On this page you find all important commands for the CLI tool b2sum. If the command you are looking for is missing please ask our AI.

b2sum

The command line tool b2sum is a cryptographic hash function that calculates the BLAKE2 hash value for one or multiple files. BLAKE2 is a fast and secure cryptographic hash function that belongs to the SHA-3 finalist family. It offers excellent performance and security characteristics, making it suitable for various applications, such as checksumming and data integrity verification. Using b2sum, you can calculate the BLAKE2 hash value of a file or compare the hash values of multiple files to verify their integrity. The tool provides options to generate both the BLAKE2b (optimized for 64-bit platforms) and BLAKE2s (optimized for smaller platforms) hash values. Here's an example of how to use b2sum: ``` b2sum

List of commands for b2sum:

  • b2sum:tldr:35169 b2sum: Read a file of BLAKE2 sums and filenames and verify all files have matching checksums.
    $ b2sum --check ${filename-b2}
    try on your machine
    explain this command
  • b2sum:tldr:40b26 b2sum: Calculate the BLAKE2 checksum for one or more files.
    $ b2sum ${filename1 filename2 ---}
    try on your machine
    explain this command
  • b2sum:tldr:5c109 b2sum: Calculate and save the list of BLAKE2 checksums to a file.
    $ b2sum ${filename1 filename2 ---} > ${filename-b2}
    try on your machine
    explain this command
  • b2sum:tldr:cd88f b2sum: Only show a message when verification fails, ignoring missing files.
    $ b2sum --ignore-missing --check --quiet ${filename-b2}
    try on your machine
    explain this command
  • b2sum:tldr:f0e78 b2sum: Only show a message for missing files or when verification fails.
    $ b2sum --check --quiet ${filename-b2}
    try on your machine
    explain this command
tool overview