Drop trailing whitespace.
Add support for SHA1 encoded passwords.
Ruby style.
Drop cryptpasswd. Proper support for SHA1 passwords.