Im trying to do the encryption and decryption in sha1 with the help of SHA1CyptoServiceProvider.
The encryption of SHA1 is performed well but i need the code for decryption of SHA1.
Encryption code:
string p="hai"; //input text
SHA1CyptoServiceProvider encrypt=new SHA1CyptoServiceProvider().
byte[] enctxt=encrypt.ComputeHash(Encoding.Default.GetBytes(p));
foreach(byte temp in enctxt)
{
out=temp.ToString("x");
}