|
1 | 1 | # SOME DESCRIPTIVE TITLE. |
2 | | -# Copyright (C) 2001-2019, Python Software Foundation |
| 2 | +# Copyright (C) 2001 Python Software Foundation |
3 | 3 | # This file is distributed under the same license as the Python package. |
4 | 4 | # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
5 | 5 | # |
6 | | -# Translators: |
7 | | -# oon arfiandwi <oon.arfiandwi@gmail.com>, 2019 |
8 | | -# |
9 | 6 | #, fuzzy |
10 | 7 | msgid "" |
11 | 8 | msgstr "" |
12 | | -"Project-Id-Version: Python 3.8\n" |
| 9 | +"Project-Id-Version: Python 3.14\n" |
13 | 10 | "Report-Msgid-Bugs-To: \n" |
14 | | -"POT-Creation-Date: 2019-09-01 14:24+0000\n" |
15 | | -"PO-Revision-Date: 2017-02-16 23:04+0000\n" |
16 | | -"Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>, 2019\n" |
17 | | -"Language-Team: Indonesian (https://www.transifex.com/python-doc/teams/5390/id/)\n" |
| 11 | +"POT-Creation-Date: 2025-05-09 14:19+0000\n" |
| 12 | +"PO-Revision-Date: 2024-11-19 01:02+0000\n" |
| 13 | +"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/id/)\n" |
18 | 14 | "MIME-Version: 1.0\n" |
19 | 15 | "Content-Type: text/plain; charset=UTF-8\n" |
20 | 16 | "Content-Transfer-Encoding: 8bit\n" |
21 | 17 | "Language: id\n" |
22 | 18 | "Plural-Forms: nplurals=1; plural=0;\n" |
23 | 19 |
|
24 | 20 | #: ../../library/crypt.rst:2 |
25 | | -msgid ":mod:`crypt` --- Function to check Unix passwords" |
26 | | -msgstr "" |
27 | | - |
28 | | -#: ../../library/crypt.rst:12 |
29 | | -msgid "**Source code:** :source:`Lib/crypt.py`" |
30 | | -msgstr "" |
31 | | - |
32 | | -#: ../../library/crypt.rst:20 |
33 | | -msgid "" |
34 | | -"This module implements an interface to the :manpage:`crypt(3)` routine, " |
35 | | -"which is a one-way hash function based upon a modified DES algorithm; see " |
36 | | -"the Unix man page for further details. Possible uses include storing hashed" |
37 | | -" passwords so you can check passwords without storing the actual password, " |
38 | | -"or attempting to crack Unix passwords with a dictionary." |
39 | | -msgstr "" |
40 | | - |
41 | | -#: ../../library/crypt.rst:28 |
42 | | -msgid "" |
43 | | -"Notice that the behavior of this module depends on the actual implementation" |
44 | | -" of the :manpage:`crypt(3)` routine in the running system. Therefore, any " |
45 | | -"extensions available on the current implementation will also be available " |
46 | | -"on this module." |
47 | | -msgstr "" |
48 | | - |
49 | | -#: ../../library/crypt.rst:34 |
50 | | -msgid ":ref:`Availability <availability>`: Unix. Not available on VxWorks." |
51 | | -msgstr "" |
52 | | - |
53 | | -#: ../../library/crypt.rst:36 |
54 | | -msgid "Hashing Methods" |
55 | | -msgstr "" |
56 | | - |
57 | | -#: ../../library/crypt.rst:40 |
58 | | -msgid "" |
59 | | -"The :mod:`crypt` module defines the list of hashing methods (not all methods" |
60 | | -" are available on all platforms):" |
61 | | -msgstr "" |
62 | | - |
63 | | -#: ../../library/crypt.rst:45 |
64 | | -msgid "" |
65 | | -"A Modular Crypt Format method with 16 character salt and 86 character hash " |
66 | | -"based on the SHA-512 hash function. This is the strongest method." |
67 | | -msgstr "" |
68 | | - |
69 | | -#: ../../library/crypt.rst:50 |
70 | | -msgid "" |
71 | | -"Another Modular Crypt Format method with 16 character salt and 43 character " |
72 | | -"hash based on the SHA-256 hash function." |
73 | | -msgstr "" |
74 | | - |
75 | | -#: ../../library/crypt.rst:55 |
76 | | -msgid "" |
77 | | -"Another Modular Crypt Format method with 22 character salt and 31 character " |
78 | | -"hash based on the Blowfish cipher." |
79 | | -msgstr "" |
80 | | - |
81 | | -#: ../../library/crypt.rst:62 |
82 | | -msgid "" |
83 | | -"Another Modular Crypt Format method with 8 character salt and 22 character " |
84 | | -"hash based on the MD5 hash function." |
85 | | -msgstr "" |
86 | | - |
87 | | -#: ../../library/crypt.rst:67 |
88 | | -msgid "" |
89 | | -"The traditional method with a 2 character salt and 13 characters of hash. " |
90 | | -"This is the weakest method." |
91 | | -msgstr "" |
92 | | - |
93 | | -#: ../../library/crypt.rst:72 |
94 | | -msgid "Module Attributes" |
| 21 | +msgid ":mod:`!crypt` --- Function to check Unix passwords" |
95 | 22 | msgstr "" |
96 | 23 |
|
97 | | -#: ../../library/crypt.rst:78 |
| 24 | +#: ../../library/crypt.rst:10 |
98 | 25 | msgid "" |
99 | | -"A list of available password hashing algorithms, as ``crypt.METHOD_*`` " |
100 | | -"objects. This list is sorted from strongest to weakest." |
| 26 | +"This module is no longer part of the Python standard library. It was " |
| 27 | +":ref:`removed in Python 3.13 <whatsnew313-pep594>` after being deprecated in" |
| 28 | +" Python 3.11. The removal was decided in :pep:`594`." |
101 | 29 | msgstr "" |
102 | 30 |
|
103 | | -#: ../../library/crypt.rst:84 |
104 | | -msgid "Module Functions" |
105 | | -msgstr "" |
106 | | - |
107 | | -#: ../../library/crypt.rst:86 |
108 | | -msgid "The :mod:`crypt` module defines the following functions:" |
109 | | -msgstr "" |
110 | | - |
111 | | -#: ../../library/crypt.rst:90 |
112 | | -msgid "" |
113 | | -"*word* will usually be a user's password as typed at a prompt or in a " |
114 | | -"graphical interface. The optional *salt* is either a string as returned " |
115 | | -"from :func:`mksalt`, one of the ``crypt.METHOD_*`` values (though not all " |
116 | | -"may be available on all platforms), or a full encrypted password including " |
117 | | -"salt, as returned by this function. If *salt* is not provided, the " |
118 | | -"strongest method will be used (as returned by :func:`methods`)." |
119 | | -msgstr "" |
120 | | - |
121 | | -#: ../../library/crypt.rst:98 |
122 | | -msgid "" |
123 | | -"Checking a password is usually done by passing the plain-text password as " |
124 | | -"*word* and the full results of a previous :func:`crypt` call, which should " |
125 | | -"be the same as the results of this call." |
126 | | -msgstr "" |
127 | | - |
128 | | -#: ../../library/crypt.rst:102 |
129 | | -msgid "" |
130 | | -"*salt* (either a random 2 or 16 character string, possibly prefixed with " |
131 | | -"``$digit$`` to indicate the method) which will be used to perturb the " |
132 | | -"encryption algorithm. The characters in *salt* must be in the set " |
133 | | -"``[./a-zA-Z0-9]``, with the exception of Modular Crypt Format which prefixes" |
134 | | -" a ``$digit$``." |
135 | | -msgstr "" |
136 | | - |
137 | | -#: ../../library/crypt.rst:108 |
138 | | -msgid "" |
139 | | -"Returns the hashed password as a string, which will be composed of " |
140 | | -"characters from the same alphabet as the salt." |
141 | | -msgstr "" |
142 | | - |
143 | | -#: ../../library/crypt.rst:113 |
144 | | -msgid "" |
145 | | -"Since a few :manpage:`crypt(3)` extensions allow different values, with " |
146 | | -"different sizes in the *salt*, it is recommended to use the full crypted " |
147 | | -"password as salt when checking for a password." |
148 | | -msgstr "" |
149 | | - |
150 | | -#: ../../library/crypt.rst:117 |
151 | | -msgid "Accept ``crypt.METHOD_*`` values in addition to strings for *salt*." |
152 | | -msgstr "" |
153 | | - |
154 | | -#: ../../library/crypt.rst:123 |
155 | | -msgid "" |
156 | | -"Return a randomly generated salt of the specified method. If no *method* is" |
157 | | -" given, the strongest method available as returned by :func:`methods` is " |
158 | | -"used." |
159 | | -msgstr "" |
160 | | - |
161 | | -#: ../../library/crypt.rst:127 |
162 | | -msgid "" |
163 | | -"The return value is a string suitable for passing as the *salt* argument to " |
164 | | -":func:`crypt`." |
165 | | -msgstr "" |
166 | | - |
167 | | -#: ../../library/crypt.rst:130 |
168 | | -msgid "" |
169 | | -"*rounds* specifies the number of rounds for ``METHOD_SHA256``, " |
170 | | -"``METHOD_SHA512`` and ``METHOD_BLOWFISH``. For ``METHOD_SHA256`` and " |
171 | | -"``METHOD_SHA512`` it must be an integer between ``1000`` and " |
172 | | -"``999_999_999``, the default is ``5000``. For ``METHOD_BLOWFISH`` it must " |
173 | | -"be a power of two between ``16`` (2\\ :sup:`4`) and ``2_147_483_648`` (2\\ " |
174 | | -":sup:`31`), the default is ``4096`` (2\\ :sup:`12`)." |
175 | | -msgstr "" |
176 | | - |
177 | | -#: ../../library/crypt.rst:140 |
178 | | -msgid "Added the *rounds* parameter." |
179 | | -msgstr "" |
180 | | - |
181 | | -#: ../../library/crypt.rst:145 |
182 | | -msgid "Examples" |
183 | | -msgstr "Contoh-contoh" |
184 | | - |
185 | | -#: ../../library/crypt.rst:147 |
| 31 | +#: ../../library/crypt.rst:14 |
186 | 32 | msgid "" |
187 | | -"A simple example illustrating typical use (a constant-time comparison " |
188 | | -"operation is needed to limit exposure to timing attacks. " |
189 | | -":func:`hmac.compare_digest` is suitable for this purpose)::" |
| 33 | +"Applications can use the :mod:`hashlib` module from the standard library. " |
| 34 | +"Other possible replacements are third-party libraries from PyPI: " |
| 35 | +":pypi:`legacycrypt`, :pypi:`bcrypt`, :pypi:`argon2-cffi`, or " |
| 36 | +":pypi:`passlib`. These are not supported or maintained by the Python core " |
| 37 | +"team." |
190 | 38 | msgstr "" |
191 | 39 |
|
192 | | -#: ../../library/crypt.rst:167 |
| 40 | +#: ../../library/crypt.rst:19 |
193 | 41 | msgid "" |
194 | | -"To generate a hash of a password using the strongest available method and " |
195 | | -"check it against the original::" |
| 42 | +"The last version of Python that provided the :mod:`!crypt` module was " |
| 43 | +"`Python 3.12 <https://docs.python.org/3.12/library/crypt.html>`_." |
196 | 44 | msgstr "" |
0 commit comments