7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.10\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2022-03-23 00:14 +0000\n "
10
+ "POT-Creation-Date : 2022-04-06 00:13 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 14:42+0000\n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -116,17 +116,17 @@ msgid ""
116
116
"from :func:`mksalt`, one of the ``crypt.METHOD_*`` values (though not all "
117
117
"may be available on all platforms), or a full encrypted password including "
118
118
"salt, as returned by this function. If *salt* is not provided, the "
119
- "strongest method will be used (as returned by :func :`methods`) ."
119
+ "strongest method available in :attr :`methods` will be used ."
120
120
msgstr ""
121
121
122
- #: ../../library/crypt.rst:102
122
+ #: ../../library/crypt.rst:101
123
123
msgid ""
124
124
"Checking a password is usually done by passing the plain-text password as "
125
125
"*word* and the full results of a previous :func:`crypt` call, which should "
126
126
"be the same as the results of this call."
127
127
msgstr ""
128
128
129
- #: ../../library/crypt.rst:106
129
+ #: ../../library/crypt.rst:105
130
130
msgid ""
131
131
"*salt* (either a random 2 or 16 character string, possibly prefixed with ``"
132
132
"$digit$`` to indicate the method) which will be used to perturb the "
@@ -135,36 +135,36 @@ msgid ""
135
135
"$``."
136
136
msgstr ""
137
137
138
- #: ../../library/crypt.rst:112
138
+ #: ../../library/crypt.rst:111
139
139
msgid ""
140
140
"Returns the hashed password as a string, which will be composed of "
141
141
"characters from the same alphabet as the salt."
142
142
msgstr ""
143
143
144
- #: ../../library/crypt.rst:117
144
+ #: ../../library/crypt.rst:116
145
145
msgid ""
146
146
"Since a few :manpage:`crypt(3)` extensions allow different values, with "
147
147
"different sizes in the *salt*, it is recommended to use the full crypted "
148
148
"password as salt when checking for a password."
149
149
msgstr ""
150
150
151
- #: ../../library/crypt.rst:121
151
+ #: ../../library/crypt.rst:120
152
152
msgid "Accept ``crypt.METHOD_*`` values in addition to strings for *salt*."
153
153
msgstr ""
154
154
155
- #: ../../library/crypt.rst:127
155
+ #: ../../library/crypt.rst:126
156
156
msgid ""
157
157
"Return a randomly generated salt of the specified method. If no *method* is "
158
- "given, the strongest method available as returned by :func :`methods` is used."
158
+ "given, the strongest method available in :attr :`methods` is used."
159
159
msgstr ""
160
160
161
- #: ../../library/crypt.rst:131
161
+ #: ../../library/crypt.rst:130
162
162
msgid ""
163
163
"The return value is a string suitable for passing as the *salt* argument to :"
164
164
"func:`crypt`."
165
165
msgstr ""
166
166
167
- #: ../../library/crypt.rst:134
167
+ #: ../../library/crypt.rst:133
168
168
msgid ""
169
169
"*rounds* specifies the number of rounds for ``METHOD_SHA256``, "
170
170
"``METHOD_SHA512`` and ``METHOD_BLOWFISH``. For ``METHOD_SHA256`` and "
@@ -174,22 +174,22 @@ msgid ""
174
174
"sup:`31`), the default is ``4096`` (2\\ :sup:`12`)."
175
175
msgstr ""
176
176
177
- #: ../../library/crypt.rst:144
177
+ #: ../../library/crypt.rst:143
178
178
msgid "Added the *rounds* parameter."
179
179
msgstr "新增 *rounds* 參數。"
180
180
181
- #: ../../library/crypt.rst:149
181
+ #: ../../library/crypt.rst:148
182
182
msgid "Examples"
183
183
msgstr "範例"
184
184
185
- #: ../../library/crypt.rst:151
185
+ #: ../../library/crypt.rst:150
186
186
msgid ""
187
187
"A simple example illustrating typical use (a constant-time comparison "
188
188
"operation is needed to limit exposure to timing attacks. :func:`hmac."
189
189
"compare_digest` is suitable for this purpose)::"
190
190
msgstr ""
191
191
192
- #: ../../library/crypt.rst:171
192
+ #: ../../library/crypt.rst:170
193
193
msgid ""
194
194
"To generate a hash of a password using the strongest available method and "
195
195
"check it against the original::"
0 commit comments