modified encryptor