get encryptor from password