Encrypt the given string using the specified key.

C# | Visual Basic |
public static string Encrypt( string strToEncrypt, string strKey )
Public Shared Function Encrypt ( strToEncrypt As String, strKey As String ) As String

- strToEncrypt (String)
- The string to be encrypted.
- strKey (String)
- The encryption key.

String
The encrypted string.
The encrypted string.
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610