Author: Cassy01 | Posted on: 10/8/2010 9:44:03 AM | Views : 599

Hi,
I have the following code to encrypt a string:
public static string MD5ComputeHexaHash(string text) { // Gets the MD5 hash for text MD5 md5 = new MD5CryptoServiceProvider(); byte[] data = Encoding.Default.GetBytes(text); byte[] hash = md5.ComputeHash(data); // Transforms as hexa string hexaHash = ""; foreach (byte b in hash) { hexaHash += String.Format("{0:x2}", b); } // Returns MD5 hexa hash return hexaHash; }

Now I need to reverse it to decrypt a string...
Any help?

...

Go to the complete details ...