Added genpwhash for generating crypt hashes

This is useful in conjunction with ~/.cantera/lock-passkey

Signed-off-by: Morten Hustveit <mortehu@google.com>