我使用SHA1使用下面的代码加密了一个字符串(hello).请指导我解密这个字符串.
SHA1Managed sha1 = new SHA1Managed();
byte[] hash = sha1.ComputeHash(Encoding.UTF8.GetBytes("hello"));
StringBuilder sb = new StringBuilder(hash.Length * 2);
foreach( byte b in hash)
{
sb.Append(b.ToString("x2"));
}
string result = sb.ToString();
Run Code Online (Sandbox Code Playgroud)
在互联网上搜索时,即使在MSDN中,我也没有使用SHA1进行解密.请指导我.
c# ×1