Create SHA512 password hashes on command line

$ mkpasswd -m help

Available methods:
sha512crypt     SHA-512
sha256crypt     SHA-256
md5crypt        MD5
descrypt        standard 56 bit DES-based crypt(3)

$ mkpasswd --method=sha-512
Password:
$6$waLKhgmBiz1$cbiCevU1WKDlL9jRua0UrALelysyhvH8pW9Xh1z.2g4BN3rk/wtoE/Ol/paWIHoOw6Je0NHM0.K6.ckpOFBet0

Comments