Nirmal Roy

Nirmal Roy

  • NA
  • 365
  • 27.5k

How can I Decryption This HashSha256 algorithm?

Dec 23 2016 1:00 AM
 
 Can Some One Help me?
 This Is Encryption format. But I need using this algorithm Decryption it.  
 
public string getHashSha256(string text)
{
byte[] bytes = Encoding.Default.GetBytes(text);
byte[] kbytes = Encoding.Default.GetBytes(secretKey);
HMACSHA256 hashstring = new HMACSHA256();
hashstring.Key = kbytes;
byte[] hash = hashstring.ComputeHash(bytes);
string hashString = string.Empty;
foreach (byte x in hash)
{
hashString += String.Format("{0:x2}", x);
}
return hashString.ToUpper();
}
 
 
 
Output - Encryption format - 0C826CD94EBA33A71184B9BEFD474B18D9364ACF34D5DF13D2411CF79CFA5292
 
 But this Format i need Decryption it. 
How should i do this? Can someone give me Code. ?

Answers (1)