Updated password encryption