made an encrypted password scheme