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.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntaxpublic static string EncryptData(
string plainString
)
Parameters
- plainString
- Type: SystemString
Data to encrypt.
Return Value
Type:
String
See Also