爲什麼 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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章