Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/sindresorhus/hasha-cli
- Owner: sindresorhus
- License: mit
- Created: 2015-09-01T08:57:47.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2023-11-11T12:47:29.000Z (11 months ago)
- Last Synced: 2024-04-13T17:54:36.295Z (6 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 73
- Watchers: 7
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
- awesome-cli-apps - hasha-cli - Get the hash of text or stdin. (Utilities / Security)
- fucking-awesome-cli-apps - hasha-cli - Get the hash of text or stdin. (Utilities / Security)
README
# [](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 --helpUsage
$ hasha
$ cat | hashaOptions
--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