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.1.3.0 (8.1.3.20220620)
Syntax public 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