https://github.com/dchest/b2sum
Go implementation of b2sum utility to calculate BLAKE2 checksums (GitHub Mirror)
https://github.com/dchest/b2sum
Last synced: about 1 year ago
JSON representation
Go implementation of b2sum utility to calculate BLAKE2 checksums (GitHub Mirror)
- Host: GitHub
- URL: https://github.com/dchest/b2sum
- Owner: dchest
- License: mit
- Created: 2012-12-22T17:07:44.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-07-11T14:02:41.000Z (almost 12 years ago)
- Last Synced: 2025-04-11T04:36:06.225Z (about 1 year ago)
- Language: Go
- Homepage: https://bitbucket.org/dchest/b2sum
- Size: 183 KB
- Stars: 19
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
B2SUM
=====
Utility to calculate BLAKE2 checksums written in Go.
Note: The original utility available from is faster.
Installation
------------
Download binary for your platform by clicking on the
[Downloads](https://bitbucket.org/dchest/b2sum/downloads) item in the top menu,
unzip it and put into your PATH.
Available platforms: OS X (darwin), Linux, FreeBSD, Windows.
To install from source, if you have Go installed:
$ go get bitbucket.org/dchest/b2sum
Usage
-----
b2sum [-a=HASH] [-s=SIZE] [filename1] [filename2] ...
Supported HASHes: blake2b, blake2s.
If no filenames specified, reads from the standard input.
Examples
--------
$ echo -n "Hello world" | b2sum
6ff843ba685842aa82031d3f53c48b66326df7639a63d128974c5c14f31a0f33343a8c65551134ed1ae0f2b0dd2bb495dc81039e3eeb0aa1bb0388bbeac29183
$ echo -n "Hello world" | b2sum -s=20
5ad31b81fc4dde5554e36af1e884d83ff5b24eb0
$ b2sum -s=32 /bin/sh /etc/bashrc
BLAKE2b-32 (/bin/sh) = 376f70f4acc6e204ed9d098ce0e93798cb7ed1b047686872c7f496d02364c85c
BLAKE2b-32 (/etc/bashrc) = 1572d4fe68a18bae127fe79fa5d009fdb2e3357c238f722109012fa739aaacb7
$ b2sum -s=20 FreeBSD-9.0-RELEASE-amd64-disc1.iso
BLAKE2b-20 (FreeBSD-9.0-RELEASE-amd64-disc1.iso) = 4174862a104245d26b61315b80af92892f4a45f2
$ b2sum -a=blake2s LICENSE
BLAKE2s-32 (LICENSE) = c34533c95c63606f33b644eec52e58a3189aa65e133755b0ebec7a32d90d5736
Packages
--------
Pure Go implementations of BLAKE2 to use in your applicaitons:
* BLAKE2b -
* BLAKE2s -