Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e898a36

Browse files
[po] auto sync
1 parent 5ddcf12 commit e898a36

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

library/hashlib.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,19 +302,24 @@ msgid ""
302302
"sensible length (e.g. 1024). *salt* should be about 16 or more bytes from a "
303303
"proper source, e.g. :func:`os.urandom`."
304304
msgstr ""
305+
"字符串 *hash_name* 是要求用于 HMAC 的哈希摘要算法的名称,例如 'sha1' 或 'sha256'。 *password* 和 "
306+
"*salt* 会以字节串缓冲区的形式被解析。 应用和库应当将 *password* 限制在合理长度 (例如 1024)。 *salt* "
307+
"应当为适当来源例如 :func:`os.urandom` 的大约 16 个或更多的字节串数据。"
305308

306309
#: ../../library/hashlib.rst:240
307310
msgid ""
308311
"The number of *iterations* should be chosen based on the hash algorithm and "
309312
"computing power. As of 2013, at least 100,000 iterations of SHA-256 are "
310313
"suggested."
311-
msgstr ""
314+
msgstr "*iterations* 数值应当基于哈希算法和算力来选择。 在 2013 年时,建议至少为 100,000 次 SHA-256 迭代。"
312315

313316
#: ../../library/hashlib.rst:244
314317
msgid ""
315318
"*dklen* is the length of the derived key. If *dklen* is ``None`` then the "
316319
"digest size of the hash algorithm *hash_name* is used, e.g. 64 for SHA-512."
317320
msgstr ""
321+
"*dklen* 为派生密钥的长度。 如果 *dklen* 为 ``None`` 则会使用哈希算法 *hash_name* 的摘要大小,例如 "
322+
"SHA-512 为 64。"
318323

319324
#: ../../library/hashlib.rst:256
320325
msgid ""

0 commit comments

Comments
 (0)