Encrypts a string using Triple DES encryption with a two way encryption key.String is returned as Base64 or BinHex encoded value rather than binary.
public static string EncryptString(string inputString, Byte[] encryptionKey, bool useBinHex)
Parameters
inputString
encryptionKey
useBinHex
if true returns bin hex rather than base64
Overloads:
public static string EncryptString(string inputString, string encryptionKey, bool useBinHex)
public static string EncryptString(string inputString, SecureString encryptionKey, bool useBinHex)
See also:
Class Encryption© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic