| CryptographyHelperEncrypt Method (String, String, Encoding) | 
            Function which encrypts 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 Encrypt(
	string originalValue,
	string privateKey,
	Encoding encoding
)
Public Shared Function Encrypt ( 
	originalValue As String,
	privateKey As String,
	encoding As Encoding
) As String
Parameters
- originalValue
 - Type: SystemString
The string to encrypt - privateKey
 - Type: SystemString
The private key to use - encoding
 - Type: System.TextEncoding
The character encoding type 
Return Value
Type: 
StringAn encrypted string
See Also