Decrypts a string using DES encryption and a pass key that was used for encryption.

Syntax:

public static String DecryptString(String DecryptString, String EncryptionKey)
Return: String
Parameters: DecryptString
EncryptionKey
Example:
string CryptKey = "Testing";

string WorkString = "Hello big, bad world";'

Value = wwEncrypt.EncryptString(WorkString,CryptKey);

// *** Should show encrypted value
Response.Write(Value);

Value = wwEncrypt.DecryptString(Value,CryptKey);

// *** Should be Original value
Response.Write(Value);
See also:

Class wwEncrypt


Last Updated: 1/28/2007 | Send topic feedback