如何在C#中解密sha1加密密码! [英] How to decrypt sha1 encrypted password in C# !
本文介绍了如何在C#中解密sha1加密密码!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在C#中解密sha1加密密码或字符串!
等待回复!
How to decrypt sha1 encrypted password or string in C# !
Waiting for reply !
推荐答案
你不能。
SHA不是一种加密算法 - 它是一种散列算法,并且存在巨大的差异:如果你有解密密钥,则可以反转加密,哈希不能。[br / >
Hashing抛弃无法恢复的信息 - 它不会对信息进行加密。
如果你已经哈希了数据和需要恢复它 - 你不能。这就是整个想法。
You can't.
SHA is not an encryption algorithm - it's a hashing algorithm, and there is a huge difference: encryption can be reversed if you have the decryption key, hashing cannot.
Hashing throws away information, which cannot be recovered - it does not encrypt information.
If you have hashed your data and need to recover it - you can't. That is the whole idea.
这篇关于如何在C#中解密sha1加密密码!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文