CryptographyHelperEncrypt Method (String, String) |
Function which encrypts a given string based on a private key
Namespace:
WorkflowGen.My.Security
Assembly:
WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax public static string Encrypt(
string originalValue,
string privateKey
)
Public Shared Function Encrypt (
originalValue As String,
privateKey As String
) As String
Parameters
- originalValue
- Type: SystemString
The string to encrypt - privateKey
- Type: SystemString
The private key to use
Return Value
Type:
StringAn encrypted string
See Also