sha3sum

package module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2017 License: BSD-3-Clause Imports: 0 Imported by: 0

README

sha3sum

Travis Go Report Card license

A sha3sum CLI utility based on golang.org/x/crypto/sha3

It covers the following utilities:

  • sha3-224sum
  • sha3-256sum
  • sha3-384sum
  • sha3-512sum
  • shake128sum
  • shake256sum

Install

Quick install:

$ go get -u ekyu.moe/sha3sum/...
# sha3sum will then be installed under $GOPATH/bin
$ export PATH=$PATH:$GOPATH/bin
$ echo -n "Hello, 世界" | sha3-224sum
ee346b66418f901d68c35fc02d25d5a3cf8ee0fcea32c3ded16b82d0  -

You can also check the release page for handy binaries.

Help

$ shake128sum --help
Usage: shake128sum [OPTION]... [FILE]...
Print or check SHAKE-128 checksums.
With no FILE, or when FILE is -, read standard input.

  -s, --size           length of output (bytes) for SHAKE-128, default 32
  -c, --check          read SHAKE-128 sums from the FILEs and check them

The following three options are useful only when verifying checksums:
      --ignore-missing  don't fail or report status for missing files
      --quiet          don't print OK for each successfully verified file
      --status         don't output anything, status code shows success

  -h, --help     display this help and exit

The sums are computed as described in FIPS-202.
When checking, the input should be a former output of this program.
The default mode is to print a line with checksum, a space,
and name for each FILE.

-s flag is only available for shake128sum and shake256sum.

License

BSD-3.0

Documentation

Overview

Package sha3sum provides cli interfaces for sha3 checksum utilities.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL