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: 8.0.5.0 (8.0.5.20210818)
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