| CryptographyHelperEncode Method  | 
            Function which encode or encrypt a given string based on a private key
            
 
Namespace: WorkflowGen.My.SecurityAssembly: WorkflowGen.My (in WorkflowGen.My.dll) Version: 2.4.0.0 (2.4.0.0)
Syntaxpublic static string Encode(
	string originalValue,
	string privateKey
)
Public Shared Function Encode ( 
	originalValue As String,
	privateKey As String
) As String
Parameters
- originalValue
 - Type: SystemString
The string to encode or encrypt - privateKey
 - Type: SystemString
The private key to use 
Return Value
Type: 
StringAn encoded string if the private key is not provided (null or empty). Otherwise an encrypted string.
See Also