Click or drag to resize

CryptographyHelperEncrypt Method (String, String, Encoding)

Function which encrypts a given string based on a private key

Namespace:  WorkflowGen.My.Security
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.6.0.0 (4.6.0.0)
Syntax
public static string Encrypt(
	string originalValue,
	string privateKey,
	Encoding encoding
)

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: String
An encrypted string
See Also