Author: pawan.nogariya | Posted on: 12/1/2009 2:32:49 AM | Views : 266

Hi all,
I am using this simple function to encrypt the string
public static string Encryptoin(string EncryptWord)
        {
            if (string.IsNullOrEmpty(EncryptWord))
                return "";
            string KeyFileName = HttpContext.Current.Request.PhysicalApplicationPath + "\\symmetric_key.config";

            SymmetricEncryptionUtility.AlgorithmName = "DES";
            byte[] data = SymmetricEncryptionUtility.EncryptData(EncryptWord, KeyFileName);
            
        ...

Go to the complete details ...