@@ -99,7 +99,7 @@ msgstr ""
99
99
"`sha3_256`、:func:`sha3_384`、:func:`sha3_512`、:func:`shake_128`、:func:"
100
100
"`shake_256`、:func:`blake2b` 和 :func:`blake2s`。:func:`md5` 通常也可用,但如"
101
101
"果你使用罕見的「符合 FIPS (FIPS compliant)」的 Python 建置版本,它可能不存在"
102
- "或這不被允許使用 。以上會對應到 :data:`algorithms_guaranteed`。"
102
+ "或者不被允許使用 。以上會對應到 :data:`algorithms_guaranteed`。"
103
103
104
104
#: ../../library/hashlib.rst:65
105
105
msgid ""
@@ -141,7 +141,7 @@ msgid ""
141
141
"cryptographic one-way compression function."
142
142
msgstr ""
143
143
"所有 hashlib 建構函式都採用一個僅限關鍵字引數 (keyword-only argument) "
144
- "*usedforsecurity*,其預設值為 ``True``。false 值則會允許在受限環境中使用不安"
144
+ "*usedforsecurity*,其預設值為 ``True``。False 值則會允許在受限環境中使用不安"
145
145
"全 (insecure) 和阻塞的 (blocked) 雜湊演算法。``False`` 表示雜湊演算法未在安全"
146
146
"情境中使用,例如作為一種非加密用途的單向壓縮函式。"
147
147
@@ -403,8 +403,8 @@ msgid ""
403
403
msgstr ""
404
404
"密鑰生成 (key derivation) 和密鑰延伸 (key stretching) 演算法專為安全密碼雜湊"
405
405
"而設計。像是 ``sha1(password)`` 這樣過於單純的演算法無法抵抗暴力攻擊。一個好"
406
- "的密碼雜湊函式必須是可調校的 (tunable)、緩慢的,並且有包含 `salt(加鹽) "
407
- "<https://en .wikipedia.org/wiki/Salt_%28cryptography%29 >`_。"
406
+ "的密碼雜湊函式必須是可調校的 (tunable)、緩慢的,並且有包含 `salt(鹽) "
407
+ "<https://zh .wikipedia.org/zh-tw/%E7%9B%90_(%E5%AF%86%E7%A0%81%E5%AD%A6) >`_。"
408
408
409
409
#: ../../library/hashlib.rst:316
410
410
msgid ""
@@ -567,7 +567,7 @@ msgid ""
567
567
"*salt*: salt for randomized hashing (up to 16 bytes for BLAKE2b, up to 8 "
568
568
"bytes for BLAKE2s)."
569
569
msgstr ""
570
- "*salt*:用於隨機雜湊的加鹽 (BLAKE2b 最多 16 個位元組、BLAKE2s 最多 8 個位元"
570
+ "*salt*:用於隨機雜湊的鹽 (BLAKE2b 最多 16 個位元組、BLAKE2s 最多 8 個位元"
571
571
"組)。"
572
572
573
573
#: ../../library/hashlib.rst:420
@@ -634,7 +634,7 @@ msgid ""
634
634
"example, ``b'salt'`` and ``b'salt\\ x00'`` is the same value. (This is not "
635
635
"the case for *key*.)"
636
636
msgstr ""
637
- "BLAKE2 規範定義了加鹽和個人化參數的恆定長度 ,但為了方便起見,此實作接受任意大"
637
+ "BLAKE2 規範定義了鹽和個人化參數的恆定長度 ,但為了方便起見,此實作接受任意大"
638
638
"小的位元組字串,最多可達指定長度。如果參數的長度小於指定的長度,則用零補滿,"
639
639
"所以像是 ``b'salt`` 和 ``b'salt\\ x00`` 是相同的值。(但 *key* 的情況並非如"
640
640
"此。)"
@@ -712,7 +712,7 @@ msgstr "常數"
712
712
713
713
#: ../../library/hashlib.rst:479
714
714
msgid "Salt length (maximum length accepted by constructors)."
715
- msgstr "加鹽長度 (建構函式接受的最大長度)。"
715
+ msgstr "鹽長度 (建構函式接受的最大長度)。"
716
716
717
717
#: ../../library/hashlib.rst:485
718
718
msgid ""
@@ -883,7 +883,7 @@ msgid ""
883
883
"In BLAKE2 the salt is processed as a one-time input to the hash function "
884
884
"during initialization, rather than as an input to each compression function."
885
885
msgstr ""
886
- "在 BLAKE2 中,加鹽在初始化期間作為雜湊函式的一次性輸入被處理 ,而不是作為每個"
886
+ "在 BLAKE2 中,鹽在初始化期間作為雜湊函式的一次性輸入被處理 ,而不是作為每個"
887
887
"壓縮函式的輸入。"
888
888
889
889
#: ../../library/hashlib.rst:663
@@ -940,7 +940,7 @@ msgstr "BLAKE2 可以透過將位元組傳遞給 *person* 引數來做個人化
940
940
msgid ""
941
941
"Personalization together with the keyed mode can also be used to derive "
942
942
"different keys from a single one."
943
- msgstr "個人化與密鑰模式一起還可以用於從單個密鑰得出不同的密鑰 。"
943
+ msgstr "個人化與密鑰模式還可以一起用於從單個密鑰得出不同的密鑰 。"
944
944
945
945
#: ../../library/hashlib.rst:731
946
946
msgid "Tree mode"
0 commit comments