NQCryptDecryptEncrypt Method (String, String) |
Encrypt a string given a password to use as part of the key.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static string Encrypt(
string clearText,
string password
)
Public Shared Function Encrypt (
clearText As String,
password As String
) As String
Parameters
- clearText
- Type: SystemString
The string to be encrypted. - password
- Type: SystemString
The encryption password.
Return Value
Type:
StringThe resulting encrypted string encoded as base64.
See Also