Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
How can I Decryption This HashSha256 algorithm?
Nirmal Roy
Dec 23 2016 1:00 AM
156
Reply
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. ?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
what outer loop and inner loop represent in bubble sort
data table to dictionary