Using mkpasswd to generate passwords

For years I have been using the UNIX mkpasswd command to generate passwords.