是否可能重构加密哈希的密钥 [英] Is It Possible To Reconstruct a Cryptographic Hash's Key
问题描述
如果是这样的话,似乎这样会破坏加密哈希的全部目的,所以也许我错过了一些。
总之,。
We would like to cryptographically (SHA-256) hash a secret value in our database. Since we want to use this as a way to lookup individual records in our database, we cannot use a different random salt for each encrypted value.
My question is: given unlimited access to our database, and given that the attacker knows at least one secret value and hashed value pair, is it possible for the attacker to reverse engineer the cryptographic key? IE, would the attacker then be able to reverse all hashes and determine all secret values?
It seems like this defeats the entire purpose of a cryptographic hash if it is the case, so perhaps I'm missing something.
In short, yes.
这篇关于是否可能重构加密哈希的密钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!