Click or drag to resize

CryptographyHelperEncode Method

Function which encode or encrypt a given string based on a private key

Namespace:  WorkflowGen.My.Security
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 3.4.0.0 (3.4.0.0)
Syntax
public static string Encode(
	string originalValue,
	string privateKey
)

Parameters

originalValue
Type: SystemString
The string to encode or encrypt
privateKey
Type: SystemString
The private key to use

Return Value

Type: String
An encoded string if the private key is not provided (null or empty). Otherwise an encrypted string.
See Also