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.1.0.0 (9.1.0.20241025)
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