@@ -10,7 +10,7 @@ msgstr ""
10
10
"Project-Id-Version : Python 3.10\n "
11
11
"Report-Msgid-Bugs-To : \n "
12
12
"POT-Creation-Date : 2020-06-20 18:08+0800\n "
13
- "PO-Revision-Date : 2022-03-14 23:58 +0800\n "
13
+ "PO-Revision-Date : 2022-03-30 00:16 +0800\n "
14
14
"
Last-Translator :
Phil Lin <[email protected] >\n "
15
15
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
16
16
"tw)\n "
@@ -23,7 +23,7 @@ msgstr ""
23
23
24
24
#: ../../library/hmac.rst:2
25
25
msgid ":mod:`hmac` --- Keyed-Hashing for Message Authentication"
26
- msgstr ":mod:`hmac` --- 基於鍵散列的訊息驗證 "
26
+ msgstr ":mod:`hmac` --- 基於金鑰雜湊的訊息驗證 "
27
27
28
28
#: ../../library/hmac.rst:10
29
29
msgid "**Source code:** :source:`Lib/hmac.py`"
@@ -53,16 +53,16 @@ msgid ""
53
53
"name of a hash algorithm."
54
54
msgstr ""
55
55
"參數 *key* 可以為 bytes 或 bytearray 物件。參數 *msg* 可以為 :mod:`hashlib` "
56
- "所支持的任意型別 。參數 *digestmod* 可以為散列演算法的名稱 。"
56
+ "所支援的任意型別 。參數 *digestmod* 可以為雜湊演算法的名稱 。"
57
57
58
58
#: ../../library/hmac.rst:33
59
59
msgid ""
60
60
"MD5 as implicit default digest for *digestmod* is deprecated. The digestmod "
61
61
"parameter is now required. Pass it as a keyword argument to avoid "
62
62
"awkwardness when you do not have an initial msg."
63
63
msgstr ""
64
- "MD5 作為 *digestmod* 的隱式默認摘要已被棄用 。digestmod 參數現在是必須的。請將"
65
- "其作為關鍵字參數傳入以避免當你沒有初始化 msg 時導致的麻煩。"
64
+ "MD5 作為 *digestmod* 的隱式預設摘要已被棄用 。digestmod 參數現在是必須的。請將"
65
+ "其作為關鍵字引數傳入以避免當你沒有初始 msg 時導致的麻煩。"
66
66
67
67
#: ../../library/hmac.rst:38
68
68
msgid ""
@@ -73,17 +73,17 @@ msgid ""
73
73
"`~hmac.new`."
74
74
msgstr ""
75
75
"基於給定密鑰 *key* 和 *digest* 回傳 *msg* 的摘要。此函式等價於 ``HMAC(key, "
76
- "msg, digest).digest()``\\ ,但使用了優化的 C 或 行內實現,對放入記憶體的訊息 "
77
- "能處理得更快 。參數 *key*、*msg* 和 *digest* 在 :func:`~hmac.new` 中具有相同含 "
78
- "義 。"
76
+ "msg, digest).digest()``\\ ,但使用了優化的 C 或 行內實作(inline "
77
+ "implementation),對放入記憶體的訊息能處理得更快 。參數 *key*、*msg* 和 "
78
+ "*digest* 在 :func:`~hmac.new` 中具有相同含義 。"
79
79
80
80
#: ../../library/hmac.rst:44
81
81
msgid ""
82
82
"CPython implementation detail, the optimized C implementation is only used "
83
83
"when *digest* is a string and name of a digest algorithm, which is supported "
84
84
"by OpenSSL."
85
85
msgstr ""
86
- "作為 CPython 的實現細節,優化的 C 實現只有當 *digest* 為字串並且是一個 "
86
+ "作為 CPython 的實現細節,C 的優化實作只有當 *digest* 為字串並且是一個 "
87
87
"OpenSSL 所支持的摘要演算法的名稱時才會被使用。"
88
88
89
89
#: ../../library/hmac.rst:51
@@ -101,7 +101,7 @@ msgstr ""
101
101
102
102
#: ../../library/hmac.rst:59
103
103
msgid "Parameter *msg* can be of any type supported by :mod:`hashlib`."
104
- msgstr "參數 *msg* 可以是 :mod:`hashlib` 所支持的任何類型 。"
104
+ msgstr "參數 *msg* 可以是 :mod:`hashlib` 所支援的任何型別 。"
105
105
106
106
#: ../../library/hmac.rst:65
107
107
msgid ""
@@ -151,20 +151,20 @@ msgid ""
151
151
"efficiently compute the digests of strings that share a common initial "
152
152
"substring."
153
153
msgstr ""
154
- "回傳 hmac 物件的拷貝 (“ clone”)。這可以被用來有效率地計算那些共享相同初始子字 "
155
- "串的字串的摘要 。"
154
+ "回傳 hmac 物件的拷貝 (\" clone\" )。這可以被用來有效率地計算那些共享相同初始 "
155
+ "子字串的字串的摘要 。"
156
156
157
157
#: ../../library/hmac.rst:98
158
158
msgid "A hash object has the following attributes:"
159
159
msgstr "一個 hash 物件具有以下屬性:"
160
160
161
161
#: ../../library/hmac.rst:102
162
162
msgid "The size of the resulting HMAC digest in bytes."
163
- msgstr "以 bytes 表示最終 HMAC 物件的大小 。"
163
+ msgstr "以 bytes 表示最終 HMAC 摘要的大小 。"
164
164
165
165
#: ../../library/hmac.rst:106
166
166
msgid "The internal block size of the hash algorithm in bytes."
167
- msgstr "以 bytes 表示散列演算法的內部區塊大小 。"
167
+ msgstr "以 bytes 表示雜湊演算法的內部區塊大小 。"
168
168
169
169
#: ../../library/hmac.rst:112
170
170
msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``."
@@ -192,7 +192,7 @@ msgid ""
192
192
"hexdigest`), or a :term:`bytes-like object`."
193
193
msgstr ""
194
194
"回傳 ``a == b``\\ 。此函式使用一種經專門設計的方式通過避免基於內容的短路行為"
195
- "來防止定時分析,使得它適合處理密碼學。*a* 和 *b* 必須為相同的類型 :可以是 :"
195
+ "來防止定時分析,使得它適合處理密碼學。*a* 和 *b* 必須為相同的型別 :可以是 :"
196
196
"class:`str`\\ (僅限 ASCII,如 :meth:`HMAC.hexdigest` 的回傳值),或者是 :"
197
197
"term:`bytes-like object`\\ 。"
198
198
@@ -216,4 +216,4 @@ msgstr ":mod:`hashlib` 模組"
216
216
217
217
#: ../../library/hmac.rst:150
218
218
msgid "The Python module providing secure hash functions."
219
- msgstr "Python 模組提供安全的散列函式 。"
219
+ msgstr "Python 模組提供安全的雜湊函式 。"
0 commit comments