Fix encrypt pwd