[#63] use method to encrypt pass