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: 9.0.3.0 (9.0.3.20240719)
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