Create a Password Hash

Linux Logo

Create a password hash in Linux

Prerequisites

  • mkpasswd
sudo apt install whois

Create the Password Hash

mkpasswd -m sha-512
mkpasswd -m SHA-256
mkpasswd -m MD5
mkpasswd -m sha512crypt
mkpasswd -m sha256crypt
mkpasswd -m descrypt 
Password: 
$6$h5BvBqn37kKB$ZEIEAQ1aHj9qukA/uKWHbJSgF5YWs665jOOj3t3nohwSTNGO7ZnqGgfzRBFk12ipr6r5/q4c704rQ7yDBquUR.