Wraps golang.org/x/crypto/bcrypt in a cli
- Download an archive that matches your platform from the releases page.
- Extract the archive.
- On Mac OS, remove the quarantine attribute to avoid Gatekeeper preventing the application from running.
xattr -dr com.apple.quarantine bcrypt-cli
- Move the
bcrypt-clifile to a directory on your$PATH.
- Make sure you have Go installed.
go install github.com/adamvduke/bcrypt-cli@v0.0.10
$ bcrypt-cli --help
Wraps golang.org/x/crypto/bcrypt in a cli
A simple CLI for hashing and comparing passwords using bcrypt.
Usage:
bcrypt-cli [command]
Available Commands:
compare Compare a previously hashed password to a plain text password
cost Use bcrypt to hash a password
generate Output a random password and its bcrypt hash
hash Use bcrypt to hash a password
help Help about any command
version Print the version number of bcrypt-cli
Flags:
-h, --help help for bcrypt-cli
-v, --version version for bcrypt-cli
Use "bcrypt-cli [command] --help" for more information about a command.