A tiny CLI utility for making SHA-512 password hashes.
-
Manually: Check out the releases for downloads.
-
Using
go get
:go get -u github.com/steven-xie/hash512
See ./hash512 --help
for full usage documentation.
./hash512 -r <rounds> # rounds is related to hash security, defaults to 8192
## Input: The password to hash (x2, once for verification).
## Output: The resulting hash.
I was generating password hashes for use with
CoreOS Ignition, when
I realized that the mkpasswd
utility they suggested for making user account
password hashes only available on a few Linux distributions. I wanted a better,
cross-platform solution for making user password hashes that I could run on my
macOS development machine, without the need for a Linux VM.
So I made one.