Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sindresorhus/hasha-cli

Hashing made simple. Get the hash of text or stdin.
https://github.com/sindresorhus/hasha-cli

Last synced: 2 days ago
JSON representation

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

Awesome Lists containing this project

README

        

# [hasha-cli](https://github.com/sindresorhus/hasha)CLI

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

## Install

```sh
npm install --global hasha-cli
```

## Usage

```
$ hasha --help

Usage
$ hasha
$ cat | 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
```

## Related

- [hasha](https://github.com/sindresorhus/hasha) - API for this module