Skip to content

Instantly share code, notes, and snippets.

@nicholashoule
Created June 6, 2019 20:03
Show Gist options
  • Save nicholashoule/f0e89c5547c6ac2674ea943148bc619d to your computer and use it in GitHub Desktop.
Save nicholashoule/f0e89c5547c6ac2674ea943148bc619d to your computer and use it in GitHub Desktop.
sha512 hash

sha512 hash

Algorithm used:
$1$,  MD5
$2a$, Blowfish
$2y$, Blowfish
$5$,  SHA-256
$6$,  SHA-512
python3:

Python 3.3+ includes mksalt in crypt.

python3 -c 'import crypt; print(crypt.crypt("Th3PA$$w0rdy0uwaNt!", crypt.mksalt(crypt.METHOD_SHA512)))'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment