A password hasher which generates hashes for /etc/shadow