Search

 

Module: Editor

Version: 2.2.1 +

Type: String

Category: Text

 

Description

The formula 'EncryptXml' encrypts an Xml element to an encrypted text string. The encryption is based on the so called Rijndael encryption. By using the Rijndael encryption you must fill in two passwords to encrypt the XML. The formula 'EncryptXml' encrypt with a symmatrical encryption. This means that the decryption of an encrypted Xml file has as result it's original Xml file (if you use for decrypting the same passwords as used with the encryption). An important function of the formula 'Encrypt.Xml' is that the result after the encryption still is written in Xml. If you have sensitive member data you can encrypt the sensitive parts of the XML and store this XML in a database. With the formula 'DecryptXML' it is possible to decrypt this encrypted information.

Parameters

Xml:

This is the Xml string you want to encrypt an element of.

Element:

This is the name of the element you want to encrypt.

Password_1:

This is the password to encrypt the text string with.

Password_2:

This is the second password (the 'salt value') used for encryption.

Example

Description

In this example you can see how to use the parameters for the formula 'EncryptXml'.

Values parameters

Xml:

	
		PLACE
	
	
		67890
	
 
Element:

personal_information

Password_1:

abcd

Password_2:

efgh

Result

Result:

	
		PLACE
	
	
		
		
			HATsmAolZ0D9coufLKnCKl5850wje6PawIbM6qsL/r1ppZl4Pq9AhGIE4I2HtbcmbsoYc0w7jzN9ynw80K1kTU1q+
			rSNj8TqfbiOT+dMRDf1IqEbUrmTsha8WJ5kKULQ/g2zs0TGOq9toJlwNNscRA==
		
	

Related Topics

- DecryptXml

External Links

- Rijndael Encryption

Updated: 2013-04-19