Possible Duplicate:
Is it possible to decrypt md5 hashes?
I hashed data with ComputeHash how can I learn original data from hashed data?
private void btn_Hash_Click(object sender, EventArgs e)
{
HashAlgorithm ha = HashAlgorithm.Create();
Stream file = new FileStream(@"C:\temp\simetrik.txt", FileMode.Open, FileAccess.Read);
hashClass.hash = ha.ComputeHash(file);
listBox1.Items.Add(BitConverter.ToString(hashClass.hash));
}
You don’t. The whole point of a cryptographic hash is that it’s supposed to be computationally infeasible to reverse in general. The best you can do is check known dictionaries and rainbow tables. Neither of these will help much for unique plaintext. Perhaps you should be using an encryption algorithm instead.
Also, you should explicitly specify the algorithm you want. E.g.: