Click or drag to resize
EncryptionHelperEncryptData Method
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: 9.0.0
Syntax
C#
public static string EncryptData(
	string plainString
)

Parameters

plainString
Type: SystemString
Data to encrypt.

Return Value

Type: String
See Also