Support password encryption