77msgstr ""
88"Project-Id-Version :Python 3.11\n "
99"Report-Msgid-Bugs-To :\n "
10- "POT-Creation-Date :2023-05-09 00:15 +0000\n "
10+ "POT-Creation-Date :2023-07-13 00:19 +0000\n "
1111"PO-Revision-Date :2018-05-23 14:42+0000\n "
1212"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1313"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -26,14 +26,15 @@ msgstr ":mod:`crypt` --- 用於檢查 Unix 密碼的函式"
2626msgid "**Source code:** :source:`Lib/crypt.py`"
2727msgstr "**原始碼:**\\ :source:`Lib/crypt.py`"
2828
29- #: ../../library/crypt.rst:23
29+ #: ../../library/crypt.rst:24
3030msgid ""
3131"The :mod:`crypt` module is deprecated (see :pep:`PEP 594 <594#crypt>` for "
3232"details and alternatives). The :mod:`hashlib` module is a potential "
33- "replacement for certain use cases."
33+ "replacement for certain use cases. The `passlib <https://pypi.org/project/"
34+ "passlib/>`_ package can replace all use cases of this module."
3435msgstr ""
3536
36- #: ../../library/crypt.rst:26
37+ #: ../../library/crypt.rst:27
3738msgid ""
3839"This module implements an interface to the :manpage:`crypt(3)` routine, "
3940"which is a one-way hash function based upon a modified DES algorithm; see "
@@ -42,15 +43,15 @@ msgid ""
4243"attempting to crack Unix passwords with a dictionary."
4344msgstr ""
4445
45- #: ../../library/crypt.rst:34
46+ #: ../../library/crypt.rst:35
4647msgid ""
4748"Notice that the behavior of this module depends on the actual "
4849"implementation of the :manpage:`crypt(3)` routine in the running system. "
4950"Therefore, any extensions available on the current implementation will also "
5051"be available on this module."
5152msgstr ""
5253
53- #: ../../library/crypt.rst:39
54+ #: ../../library/crypt.rst:40
5455msgid ":ref:`Availability <availability>`: Unix, not VxWorks."
5556msgstr ":ref:`適用 <availability>`:Unix,非 VxWorks。"
5657
@@ -65,65 +66,65 @@ msgid ""
6566"more information."
6667msgstr ""
6768
68- #: ../../library/crypt.rst:44
69+ #: ../../library/crypt.rst:45
6970msgid "Hashing Methods"
7071msgstr ""
7172
72- #: ../../library/crypt.rst:48
73+ #: ../../library/crypt.rst:49
7374msgid ""
7475"The :mod:`crypt` module defines the list of hashing methods (not all methods "
7576"are available on all platforms):"
7677msgstr ""
7778
78- #: ../../library/crypt.rst:53
79+ #: ../../library/crypt.rst:54
7980msgid ""
8081"A Modular Crypt Format method with 16 character salt and 86 character hash "
8182"based on the SHA-512 hash function. This is the strongest method."
8283msgstr ""
8384
84- #: ../../library/crypt.rst:58
85+ #: ../../library/crypt.rst:59
8586msgid ""
8687"Another Modular Crypt Format method with 16 character salt and 43 character "
8788"hash based on the SHA-256 hash function."
8889msgstr ""
8990
90- #: ../../library/crypt.rst:63
91+ #: ../../library/crypt.rst:64
9192msgid ""
9293"Another Modular Crypt Format method with 22 character salt and 31 character "
9394"hash based on the Blowfish cipher."
9495msgstr ""
9596
96- #: ../../library/crypt.rst:70
97+ #: ../../library/crypt.rst:71
9798msgid ""
9899"Another Modular Crypt Format method with 8 character salt and 22 character "
99100"hash based on the MD5 hash function."
100101msgstr ""
101102
102- #: ../../library/crypt.rst:75
103+ #: ../../library/crypt.rst:76
103104msgid ""
104105"The traditional method with a 2 character salt and 13 characters of hash. "
105106"This is the weakest method."
106107msgstr ""
107108
108- #: ../../library/crypt.rst:80
109+ #: ../../library/crypt.rst:81
109110msgid "Module Attributes"
110111msgstr "模組屬性"
111112
112- #: ../../library/crypt.rst:86
113+ #: ../../library/crypt.rst:87
113114msgid ""
114115"A list of available password hashing algorithms, as ``crypt.METHOD_*`` "
115116"objects. This list is sorted from strongest to weakest."
116117msgstr ""
117118
118- #: ../../library/crypt.rst:92
119+ #: ../../library/crypt.rst:93
119120msgid "Module Functions"
120121msgstr "模組函式"
121122
122- #: ../../library/crypt.rst:94
123+ #: ../../library/crypt.rst:95
123124msgid "The :mod:`crypt` module defines the following functions:"
124125msgstr ":mod:`crypt` 模組定義了以下函式:"
125126
126- #: ../../library/crypt.rst:98
127+ #: ../../library/crypt.rst:99
127128msgid ""
128129"*word* will usually be a user's password as typed at a prompt or in a "
129130"graphical interface. The optional *salt* is either a string as returned "
@@ -133,14 +134,14 @@ msgid ""
133134"strongest method available in :attr:`methods` will be used."
134135msgstr ""
135136
136- #: ../../library/crypt.rst:105
137+ #: ../../library/crypt.rst:106
137138msgid ""
138139"Checking a password is usually done by passing the plain-text password as "
139140"*word* and the full results of a previous :func:`crypt` call, which should "
140141"be the same as the results of this call."
141142msgstr ""
142143
143- #: ../../library/crypt.rst:109
144+ #: ../../library/crypt.rst:110
144145msgid ""
145146"*salt* (either a random 2 or 16 character string, possibly prefixed with "
146147"``$digit$`` to indicate the method) which will be used to perturb the "
@@ -149,36 +150,36 @@ msgid ""
149150"``$digit$``."
150151msgstr ""
151152
152- #: ../../library/crypt.rst:115
153+ #: ../../library/crypt.rst:116
153154msgid ""
154155"Returns the hashed password as a string, which will be composed of "
155156"characters from the same alphabet as the salt."
156157msgstr ""
157158
158- #: ../../library/crypt.rst:120
159+ #: ../../library/crypt.rst:121
159160msgid ""
160161"Since a few :manpage:`crypt(3)` extensions allow different values, with "
161162"different sizes in the *salt*, it is recommended to use the full crypted "
162163"password as salt when checking for a password."
163164msgstr ""
164165
165- #: ../../library/crypt.rst:124
166+ #: ../../library/crypt.rst:125
166167msgid "Accept ``crypt.METHOD_*`` values in addition to strings for *salt*."
167168msgstr ""
168169
169- #: ../../library/crypt.rst:130
170+ #: ../../library/crypt.rst:131
170171msgid ""
171172"Return a randomly generated salt of the specified method. If no *method* is "
172173"given, the strongest method available in :attr:`methods` is used."
173174msgstr ""
174175
175- #: ../../library/crypt.rst:134
176+ #: ../../library/crypt.rst:135
176177msgid ""
177178"The return value is a string suitable for passing as the *salt* argument to :"
178179"func:`crypt`."
179180msgstr ""
180181
181- #: ../../library/crypt.rst:137
182+ #: ../../library/crypt.rst:138
182183msgid ""
183184"*rounds* specifies the number of rounds for ``METHOD_SHA256``, "
184185"``METHOD_SHA512`` and ``METHOD_BLOWFISH``. For ``METHOD_SHA256`` and "
@@ -188,29 +189,29 @@ msgid ""
188189"sup:`31`), the default is ``4096`` (2\\ :sup:`12`)."
189190msgstr ""
190191
191- #: ../../library/crypt.rst:147
192+ #: ../../library/crypt.rst:148
192193msgid "Added the *rounds* parameter."
193194msgstr "新增 *rounds* 參數。"
194195
195- #: ../../library/crypt.rst:152
196+ #: ../../library/crypt.rst:153
196197msgid "Examples"
197198msgstr "範例"
198199
199- #: ../../library/crypt.rst:154
200+ #: ../../library/crypt.rst:155
200201msgid ""
201202"A simple example illustrating typical use (a constant-time comparison "
202203"operation is needed to limit exposure to timing attacks. :func:`hmac."
203204"compare_digest` is suitable for this purpose)::"
204205msgstr ""
205206
206- #: ../../library/crypt.rst:174
207+ #: ../../library/crypt.rst:175
207208msgid ""
208209"To generate a hash of a password using the strongest available method and "
209210"check it against the original::"
210211msgstr ""
211212
212- #: ../../library/crypt.rst:15 ../../library/crypt.rst:32
213- #: ../../library/crypt.rst:118
213+ #: ../../library/crypt.rst:15 ../../library/crypt.rst:33
214+ #: ../../library/crypt.rst:119
214215msgid "crypt(3)"
215216msgstr "crypt(3)"
216217