aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/zh-cn/glossary/digest/index.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/digest/index.md b/files/zh-cn/glossary/digest/index.md
new file mode 100644
index 0000000000..cc99d7b534
--- /dev/null
+++ b/files/zh-cn/glossary/digest/index.md
@@ -0,0 +1,25 @@
+---
+title: 摘要
+slug: Glossary/Digest
+tags:
+ - Cryptography
+ - Glossary
+ - Privacy
+ - Security
+translation_of: Glossary/Digest
+---
+**摘要**是一个由 {{glossary("cryptographic hash function", "散列函数")}} 从完整的消息生成的小的值。理想情况下,摘要是可快速计算、不可逆且不可预测的,因此可用于表明是否有人篡改了给定的消息。
+
+摘要可用于执行多种任务:
+
+- 非加密类应用(例如:哈希表的索引、用于检测重复数据或唯一标识文件的指纹)
+- 验证消息完整性(被篡改的消息具有不同的散列值)
+- 生成伪随机数
+- 生成{{glossary("key","密钥")}}
+
+为应用选择合适的散列函数以避免冲突和可预测至关重要。
+
+## 参见
+
+- {{glossary("Cryptographic hash function", "密码散列函数")}}
+- 维基百科上的{{interwiki("wikipedia", "Cryptographic_hash_function", "密码散列函数")}}