Crates.io | get-hash |
lib.rs | get-hash |
version | 1.1.9 |
source | src |
created_at | 2024-04-23 09:19:33.381658 |
updated_at | 2024-05-03 10:33:45.65407 |
description | Get hash of a string |
homepage | https://github.com/vybgss/get-hash |
repository | https://github.com/vybgss/get-hash |
max_upload_size | |
id | 1217325 |
size | 11,622 |
This is a simple utility that calculates the hash of a string.
cargo install get-hash
Get the hash of a string "Hello, World":
get-hash "Hello, World"
Output:
MD5: 82bb413746aee42f89dea2b59614f9ef
SHA1: 907d14fb3af2b0d4f18c2d46abe8aedce17367bd
SHA256: 03675ac53ff9cd1535ccc7dfcdfa2c458c5218371f418dc136f2d19ac1fbe8a5
SHA512: 45546d4d71407e82ecda31eba5bf74b65bc092b0436a2409a6b615c1f78fdb2d3da371758f07a65b5d2b3ee8fa9ea0c772dd1eff884c4c77d4290177b002ccdc
# Build.
./build.sh
# Install locally.
./install.sh
# Release new version.
./release.sh (major|minor|patch)