Public
Authored by Dan Thomson

Password Hash Generation for Linux (Perl)

Taken from https://unix.stackexchange.com/a/76337 and put here for convenience.

Replace "password" with your password and "saltsalt" with any random salt you want to come up with. This script can be run on the command line by placing the code inline like this:

$ perl -e 'print crypt("password","\$6\$saltsalt\$") . "\n"'
passwd-hash.pl 72 Bytes
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment