Discuss this help topic in SecureBlackbox Forum

Encrypt the data

Before encrypting the data, you need to setup the encryption parameters.

Select and adjust the encryption algorithm by setting the properties of TElXMLEncryptionMethodType class, which is contained in EncryptionMethod property of TElXMLEncryptor class. You need to set Algorithm and (depending on the algorithm) KeySize properties.

Next step is to specify the key, used to encrypt the data. This is done by setting KeyData to the instance of TElXMLKeyInfoSymmetricData class.

If you want to encrypt the key and include it with the encrypted data, see the corresponding how-to article.

Perform encryption of the XML node or external data as described in other how-to articles in this section.

Discuss this help topic in SecureBlackbox Forum