pwhash

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2023 License: MIT Imports: 3 Imported by: 0

README

pwhash

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.

Examples

Hash a password:

pwhash testPassword123

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL