Secure password input

The readpwd functions have been renamed to the readPassword along the way.