Generating sha512 password hashes

Here’s an example command of how I generate sha512 password hashes (using password “GeoHub123456@” as an example with a random salt)…

python -c "import crypt, base64, os; print crypt.crypt('GeoHub123456@', '\$6\$' + base64.b64encode(os.urandom(6)))"

 

Leave a Comment