StringFunctions.EncryptString

Encrypt the given string using AES. The string can be decrypted using DecryptStringAES(). The sharedSecret parameters must match.

public static string EncryptString(string plainText,
	string sharedSecret)

Parameters

plainText
The text to encrypt.

sharedSecret
A password used to generate a key for encryption.


See also:

Class StringFunctions