Click or drag to resize
EncryptionHelperEncryptData Method

Note: This API is now obsolete.

Encrypts data using symmetric cryptography. Data can by decrypted by calling DecryptData(String) method. If null or empty string is on input, method returns it. The encrypted data is returned as a base 64 string.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use custom implementation instead.")]
public static string EncryptData(
	string plainString
)

Parameters

plainString
Type: SystemString
Data to encrypt.

Return Value

Type: String
See Also