https://github.com/sindresorhus/hasha-cli
Hashing made simple. Get the hash of text or stdin.
https://github.com/sindresorhus/hasha-cli
Last synced: about 1 month 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 10 years ago)
- Default Branch: main
- Last Pushed: 2025-09-12T19:34:52.000Z (2 months ago)
- Last Synced: 2025-09-12T21:55:38.648Z (2 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 74
- Watchers: 6
- 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 --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 package