Vb.net解密sha512哈希 [英] Vb.net Decrypt sha512 hash
本文介绍了Vb.net解密sha512哈希的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在努力解密哈希我的 sha512
加密。我正在寻找一种方法来解密它。
顺便说一下,我是如何进行加密的:
Dim uEncode As New UTF8Encoding()
Dim bytClearString()As Byte = uEncode.GetBytes(to encrypt)
Dim sha As New _
System.Security.Cryptography.SHA512Managed
Dim WordEncrypt As String =
Dim hash()As Byte = sha.ComputeHash(bytClearString)
对于每个b作为字节在散列
WordEncrypt& = b.ToString(x2)
下一个
我需要什么现在要知道如何解密它。
解决方案
SHA512不是加密算法,它是一个散列算法。这意味着无法从生成的哈希中恢复出现的数据。
我很抱歉,但是没有办法使用彩虹表风格查找以获取原始数据。在这里有一个在这里的不同之处。
Heys guys,
I'm struggling about out to decrypt the hash how my sha512
encryption. I'm searching a way to finnaly decrypt it.
By the way this is how I do the encryption:
Dim uEncode As New UTF8Encoding()
Dim bytClearString() As Byte = uEncode.GetBytes("to encrypt")
Dim sha As New _
System.Security.Cryptography.SHA512Managed
Dim WordEncrypt As String = ""
Dim hash() As Byte = sha.ComputeHash(bytClearString)
For Each b As Byte In hash
WordEncrypt &= b.ToString("x2")
Next
What i need now is to know how to decrypt it.
解决方案
SHA512 is not an encryption algorithm, it's a hashing algorithm. What this means is that the data that goes into it cannot be recovered from the generated hash.
I'm sorry but there is no way short of using a rainbow table style lookup to get the original data back. There's a great post on the difference here on SO.
这篇关于Vb.net解密sha512哈希的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文