implement user`s password encryption