Skip to content

Commit 0cbe0d0

Browse files
committed
fix: add missing doc for 0.11
Signed-off-by: zongz <[email protected]>
1 parent dfc32c4 commit 0cbe0d0

File tree

1 file changed

+12
-0
lines changed
  • i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/reference/model

1 file changed

+12
-0
lines changed

i18n/zh-CN/docusaurus-plugin-content-docs/version-0.11/reference/model/crypto.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,3 +125,15 @@ import crypto
125125

126126
sha = crypto.filesha256("test.txt")
127127
```
128+
129+
## filesha512
130+
131+
`filesha512(filepath: str) -> str`
132+
133+
计算文件 `filepath` 的 SHA512 哈希。
134+
135+
```python
136+
import crypto
137+
138+
sha = crypto.filesha512("test.txt")
139+
```

0 commit comments

Comments
 (0)