mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
291 B
291 B
Debian's mkpasswd
Crypts a given password using crypt(3).
mkpasswd [OPTIONS]... [PASSWORD [SALT]]
TL;DR
# List available encrypting methods.
mkpasswd -m -h
# Return a hash of a specific method.
mkpasswd -m 'nt' 'password'
mkpasswd -m 'sha512crypt' 'password'