为什么 MD5 哈希值不可逆? - How come MD5 hash values are not reversible?

问题:

One concept I've always wondered about is the use of cryptographic hash functions and values.我一直想知道的一个概念是使用加密散列函数和值。 I understand that these functions can generate a hash value that is unique and virtually impossible to reverse, but here's what I've always wondered:我知道这些函数可以生成一个独一无二且几乎不可能逆转的哈希值,但这是我一直想知道的:

If on my server, in PHP I produce:如果在我的服务器上,我在 PHP 中生成:

md5("stackoverflow.com") = "d0cc85b26f2ceb8714b978e07def4f6e"

When you run that same string through an MD5 function, you get the same result on your PHP installation.当您通过 MD5 函数运行相同的字符串时,您会在 PHP 安装中获得相同的结果。 A process is being used to produce some value, from some starting value.一个过程被用来从某个起始值产生一些值。

Doesn't this mean that there is some way to deconstruct what is happening and reverse the hash value?这是否意味着有某种方法可以解构正在发生的事情并反转哈希值?

What is it about these functions that makes the resulting strings impossible to retrace?这些函数是什么使生成的字符串无法回溯?


解决方案:

参考: https://stackoom.com/en/question/1Ntv
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章