A cli utility for manually hashing a password using bcrypt. Useful for manually inserting users into a database.
Since this utility uses bcrypt under the hood, the password is automatically salted as well (so you will get a different result running it on the same password multiple times).
Installation
go install github.com/TheManSpeaker/pwhash@latest
Note: add the go/bin from your home directory into your path for the following examples to work.