Hi All,

Can anyone tell how to convert hex string to string value....

I have some value in string format like this ABCD|1234|abcd|xyz.

I have converted this input string in hex string using CRC32 class (Cyclic Redundancy Check for 32 bit.) 7acd234f

Now converted into Integer value in form of checksum like 1234567890.

Now i want to reverse this process, can anyone help on this ???

here is my code :

// ---------------- Convert String Data into Hex String Value ---------------

Algorithm alg = (Algorithm)new Algorithm("CRC32", new CRC32());
//CRC32 crc32 = (CRC32) new CRC32();
String hash = String.Empty;

string fs = strData;
byte[] rawBytes = System.Text.ASCIIEncoding.ASCII.GetBytes("strData");

//using (FileStream fs = File.Open("strData")) ;
foreach (byte b in alg.hash.ComputeHash(rawBytes)) hash += b.ToString("x2").ToLower();

string hexString = hash;

//double num = BitConverter.Int64BitsToDouble(012245);

//double num = Double.Parse(hexString, System.Globalization.NumberStyles.HexNumber);

int num = Int32.Parse(hexString, System.Globalization.NumberStyles.HexNumber);

Seeking early response.......