Decrypts a string using DES encryption and a pass key that was used for encryption and returns a byte buffer.
public static Byte[] DecryptBytes(string decryptString, string encryptionKey, bool useBinHex)
Return Value
String
Parameters
decryptString
encryptionKey
useBinHex
Returns data in useBinHex format (12afb1c3f1). Otherwise base64 is returned.
Overloads:
public static Byte[] DecryptBytes(Byte[] decryptBuffer, string encryptionKey)
public static Byte[] DecryptBytes(Byte[] decryptBuffer, SecureString encryptionKey)
public static Byte[] DecryptBytes(Byte[] decryptBuffer, Byte[] encryptionKey, CipherMode cipherMode)
public static Byte[] DecryptBytes(string decryptString, SecureString encryptionKey, bool useBinHex)
See also:
Class Encryption© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic