@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version : Python 3.12\n "
1515"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2023-06-09 14:13 +0000\n "
16+ "POT-Creation-Date : 2023-07-14 14:14 +0000\n "
1717"PO-Revision-Date : 2021-06-28 01:03+0000\n "
1818"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2022\n "
1919"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -33,14 +33,15 @@ msgstr ""
3333msgid "**Source code:** :source:`Lib/crypt.py`"
3434msgstr "**Código-fonte:** :source:`Lib/crypt.py`"
3535
36- #: ../../library/crypt.rst:23
36+ #: ../../library/crypt.rst:24
3737msgid ""
3838"The :mod:`crypt` module is deprecated (see :pep:`PEP 594 <594#crypt>` for "
3939"details and alternatives). The :mod:`hashlib` module is a potential "
40- "replacement for certain use cases."
40+ "replacement for certain use cases. The `passlib <https://pypi.org/project/"
41+ "passlib/>`_ package can replace all use cases of this module."
4142msgstr ""
4243
43- #: ../../library/crypt.rst:26
44+ #: ../../library/crypt.rst:27
4445msgid ""
4546"This module implements an interface to the :manpage:`crypt(3)` routine, "
4647"which is a one-way hash function based upon a modified DES algorithm; see "
@@ -49,15 +50,15 @@ msgid ""
4950"attempting to crack Unix passwords with a dictionary."
5051msgstr ""
5152
52- #: ../../library/crypt.rst:34
53+ #: ../../library/crypt.rst:35
5354msgid ""
5455"Notice that the behavior of this module depends on the actual "
5556"implementation of the :manpage:`crypt(3)` routine in the running system. "
5657"Therefore, any extensions available on the current implementation will also "
5758"be available on this module."
5859msgstr ""
5960
60- #: ../../library/crypt.rst:39
61+ #: ../../library/crypt.rst:40
6162msgid ":ref:`Availability <availability>`: Unix, not VxWorks."
6263msgstr ":ref:`Disponibilidade <availability>`: Unix, not VxWorks."
6364
@@ -75,65 +76,65 @@ msgstr ""
7576"``wasm32-emscripten`` e ``wasm32-wasi``. Veja :ref:`wasm-availability` para "
7677"mais informações."
7778
78- #: ../../library/crypt.rst:44
79+ #: ../../library/crypt.rst:45
7980msgid "Hashing Methods"
8081msgstr ""
8182
82- #: ../../library/crypt.rst:48
83+ #: ../../library/crypt.rst:49
8384msgid ""
8485"The :mod:`crypt` module defines the list of hashing methods (not all methods "
8586"are available on all platforms):"
8687msgstr ""
8788
88- #: ../../library/crypt.rst:53
89+ #: ../../library/crypt.rst:54
8990msgid ""
9091"A Modular Crypt Format method with 16 character salt and 86 character hash "
9192"based on the SHA-512 hash function. This is the strongest method."
9293msgstr ""
9394
94- #: ../../library/crypt.rst:58
95+ #: ../../library/crypt.rst:59
9596msgid ""
9697"Another Modular Crypt Format method with 16 character salt and 43 character "
9798"hash based on the SHA-256 hash function."
9899msgstr ""
99100
100- #: ../../library/crypt.rst:63
101+ #: ../../library/crypt.rst:64
101102msgid ""
102103"Another Modular Crypt Format method with 22 character salt and 31 character "
103104"hash based on the Blowfish cipher."
104105msgstr ""
105106
106- #: ../../library/crypt.rst:70
107+ #: ../../library/crypt.rst:71
107108msgid ""
108109"Another Modular Crypt Format method with 8 character salt and 22 character "
109110"hash based on the MD5 hash function."
110111msgstr ""
111112
112- #: ../../library/crypt.rst:75
113+ #: ../../library/crypt.rst:76
113114msgid ""
114115"The traditional method with a 2 character salt and 13 characters of hash. "
115116"This is the weakest method."
116117msgstr ""
117118
118- #: ../../library/crypt.rst:80
119+ #: ../../library/crypt.rst:81
119120msgid "Module Attributes"
120121msgstr "Atributos do módulo"
121122
122- #: ../../library/crypt.rst:86
123+ #: ../../library/crypt.rst:87
123124msgid ""
124125"A list of available password hashing algorithms, as ``crypt.METHOD_*`` "
125126"objects. This list is sorted from strongest to weakest."
126127msgstr ""
127128
128- #: ../../library/crypt.rst:92
129+ #: ../../library/crypt.rst:93
129130msgid "Module Functions"
130131msgstr ""
131132
132- #: ../../library/crypt.rst:94
133+ #: ../../library/crypt.rst:95
133134msgid "The :mod:`crypt` module defines the following functions:"
134135msgstr ""
135136
136- #: ../../library/crypt.rst:98
137+ #: ../../library/crypt.rst:99
137138msgid ""
138139"*word* will usually be a user's password as typed at a prompt or in a "
139140"graphical interface. The optional *salt* is either a string as returned "
@@ -143,14 +144,14 @@ msgid ""
143144"strongest method available in :attr:`methods` will be used."
144145msgstr ""
145146
146- #: ../../library/crypt.rst:105
147+ #: ../../library/crypt.rst:106
147148msgid ""
148149"Checking a password is usually done by passing the plain-text password as "
149150"*word* and the full results of a previous :func:`crypt` call, which should "
150151"be the same as the results of this call."
151152msgstr ""
152153
153- #: ../../library/crypt.rst:109
154+ #: ../../library/crypt.rst:110
154155msgid ""
155156"*salt* (either a random 2 or 16 character string, possibly prefixed with "
156157"``$digit$`` to indicate the method) which will be used to perturb the "
@@ -159,36 +160,36 @@ msgid ""
159160"``$digit$``."
160161msgstr ""
161162
162- #: ../../library/crypt.rst:115
163+ #: ../../library/crypt.rst:116
163164msgid ""
164165"Returns the hashed password as a string, which will be composed of "
165166"characters from the same alphabet as the salt."
166167msgstr ""
167168
168- #: ../../library/crypt.rst:120
169+ #: ../../library/crypt.rst:121
169170msgid ""
170171"Since a few :manpage:`crypt(3)` extensions allow different values, with "
171172"different sizes in the *salt*, it is recommended to use the full crypted "
172173"password as salt when checking for a password."
173174msgstr ""
174175
175- #: ../../library/crypt.rst:124
176+ #: ../../library/crypt.rst:125
176177msgid "Accept ``crypt.METHOD_*`` values in addition to strings for *salt*."
177178msgstr ""
178179
179- #: ../../library/crypt.rst:130
180+ #: ../../library/crypt.rst:131
180181msgid ""
181182"Return a randomly generated salt of the specified method. If no *method* is "
182183"given, the strongest method available in :attr:`methods` is used."
183184msgstr ""
184185
185- #: ../../library/crypt.rst:134
186+ #: ../../library/crypt.rst:135
186187msgid ""
187188"The return value is a string suitable for passing as the *salt* argument to :"
188189"func:`crypt`."
189190msgstr ""
190191
191- #: ../../library/crypt.rst:137
192+ #: ../../library/crypt.rst:138
192193msgid ""
193194"*rounds* specifies the number of rounds for ``METHOD_SHA256``, "
194195"``METHOD_SHA512`` and ``METHOD_BLOWFISH``. For ``METHOD_SHA256`` and "
@@ -198,29 +199,29 @@ msgid ""
198199"sup:`31`), the default is ``4096`` (2\\ :sup:`12`)."
199200msgstr ""
200201
201- #: ../../library/crypt.rst:147
202+ #: ../../library/crypt.rst:148
202203msgid "Added the *rounds* parameter."
203204msgstr ""
204205
205- #: ../../library/crypt.rst:152
206+ #: ../../library/crypt.rst:153
206207msgid "Examples"
207208msgstr "Exemplos"
208209
209- #: ../../library/crypt.rst:154
210+ #: ../../library/crypt.rst:155
210211msgid ""
211212"A simple example illustrating typical use (a constant-time comparison "
212213"operation is needed to limit exposure to timing attacks. :func:`hmac."
213214"compare_digest` is suitable for this purpose)::"
214215msgstr ""
215216
216- #: ../../library/crypt.rst:174
217+ #: ../../library/crypt.rst:175
217218msgid ""
218219"To generate a hash of a password using the strongest available method and "
219220"check it against the original::"
220221msgstr ""
221222
222- #: ../../library/crypt.rst:15 ../../library/crypt.rst:32
223- #: ../../library/crypt.rst:118
223+ #: ../../library/crypt.rst:15 ../../library/crypt.rst:33
224+ #: ../../library/crypt.rst:119
224225msgid "crypt(3)"
225226msgstr ""
226227
0 commit comments