encode password
encode salted password