Git Product home page Git Product logo

sha3sum's Introduction

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

sha3sum's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

forging2012

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.