PROPHET/OS

NAME

mkpasswd: builds an Argon2id password hash

SYNOPSIS

mkpasswd <password>

DESCRIPTION

Builds an Argon2id password hash.

The hash goes into /system/config/shadow, and passwd is the command that writes the line. The work happens in ring 3: memory-hard crypto for a login does not belong in the kernel, and the kernel keeps Argon2 only for the disk key.

EXAMPLE

$ mkpasswd --help
mkpasswd <password>
  builds an Argon2id password hash

SEE ALSO

passwd, login, users