Writing CECryptor