hasha-cli

6.0.0 • Public • Published

hasha-cliCLI

Hashing made simple. Get the hash of text or stdin.

Install

npm install --global hasha-cli

Usage

$ hasha --help

  Usage
    $ hasha <text>
    $ cat <file> | hasha

  Options
    --algorithm, -a  Cipher algorithm: md5,sha1,sha256,sha512   [Default: sha512]
    --encoding, -e   Output encoding: hex,base64,buffer,binary  [Default: hex]

  Example
    $ hasha unicorn --algorithm=md5
    1abcb33beeb811dca15f0ac3e47b88d9
  • hasha - API for this module

Package Sidebar

Install

npm i hasha-cli

Weekly Downloads

17

Version

6.0.0

License

MIT

Unpacked Size

3.64 kB

Total Files

4

Last publish

Collaborators

  • sindresorhus