Skip to content

Commit 07a1bb1

Browse files
Copilotbytemain
andauthored
Document weak hash compatibility warning
Agent-Logs-Url: https://github.com/version-fox/vfox/sessions/2766badf-41e8-4039-b36c-df0c7668b145 Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
1 parent 64ffbc4 commit 07a1bb1

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

docs/plugins/library/hash.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
The `hash` library calculates file digests and verifies downloaded files in Lua plugins.
44

5+
Prefer SHA-256 or SHA-512 for new integrations. MD5 and SHA-1 are supported only for compatibility with upstream sources that do not publish stronger checksums.
6+
57
**Usage**
68

79
```lua

docs/zh-hans/plugins/library/hash.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
`hash` 库用于在 Lua 插件中计算文件摘要并校验下载文件。
44

5+
新插件应优先使用 SHA-256 或 SHA-512。MD5 和 SHA-1 仅用于兼容未提供更强校验值的上游来源。
6+
57
**使用**
68

79
```lua

0 commit comments

Comments
 (0)