hash password
member preference to string