mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-24 21:56:28 +08:00
Update hash_algorithm.md (#836)
* Update hash_algorithm.md - Add the hiding property required for the hash algorithm in security domain. * Update hash_algorithm.md --------- Co-authored-by: Yudong Jin <krahets@163.com>
This commit is contained in:
parent
4355f8d49f
commit
bcb5bf641a
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ index = hash(key) % capacity
|
|||
|
||||
对于密码学的相关应用,为了防止从哈希值推导出原始密码等逆向工程,哈希算法需要具备更高等级的安全特性。
|
||||
|
||||
- **单向性**:无法通过哈希值反推出关于输入数据的任何信息。
|
||||
- **抗碰撞性**:应当极其困难找到两个不同的输入,使得它们的哈希值相同。
|
||||
- **雪崩效应**:输入的微小变化应当导致输出的显著且不可预测的变化。
|
||||
|
||||
|
|
Loading…
Reference in a new issue