@@ -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-30 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 : Yusuke Miyazaki <miyazaki.dev@gmail.com>, 2023\n "
1919"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -32,14 +32,15 @@ msgstr ":mod:`crypt` --- Unix パスワードをチェックするための関
3232msgid "**Source code:** :source:`Lib/crypt.py`"
3333msgstr "**ソースコード:** :source:`Lib/crypt.py`"
3434
35- #: ../../library/crypt.rst:23
35+ #: ../../library/crypt.rst:24
3636msgid ""
3737"The :mod:`crypt` module is deprecated (see :pep:`PEP 594 <594#crypt>` for "
3838"details and alternatives). The :mod:`hashlib` module is a potential "
39- "replacement for certain use cases."
39+ "replacement for certain use cases. The `passlib <https://pypi.org/project/"
40+ "passlib/>`_ package can replace all use cases of this module."
4041msgstr ""
4142
42- #: ../../library/crypt.rst:26
43+ #: ../../library/crypt.rst:27
4344msgid ""
4445"This module implements an interface to the :manpage:`crypt(3)` routine, "
4546"which is a one-way hash function based upon a modified DES algorithm; see "
@@ -53,7 +54,7 @@ msgstr ""
5354"することなくチェック出来るようにするためのハッシュ化パスワードを記録したり、"
5455"Unix パスワードに (脆弱性検査のための) 辞書攻撃を試みるのに使えます。"
5556
56- #: ../../library/crypt.rst:34
57+ #: ../../library/crypt.rst:35
5758msgid ""
5859"Notice that the behavior of this module depends on the actual "
5960"implementation of the :manpage:`crypt(3)` routine in the running system. "
@@ -63,7 +64,7 @@ msgstr ""
6364"このモジュールは実行環境の :manpage:`crypt(3)` の実装に依存しています。そのた"
6465"め、現在の実装で利用可能な拡張を、このモジュールでもそのまま利用できます。"
6566
66- #: ../../library/crypt.rst:39
67+ #: ../../library/crypt.rst:40
6768msgid ":ref:`Availability <availability>`: Unix, not VxWorks."
6869msgstr ""
6970
@@ -82,55 +83,55 @@ msgstr ""
8283"``wasm32-wasi`` では動作しないか、利用不可です。詳しくは、:ref:`wasm-"
8384"availability` を見てください。"
8485
85- #: ../../library/crypt.rst:44
86+ #: ../../library/crypt.rst:45
8687msgid "Hashing Methods"
8788msgstr "ハッシュ化方式"
8889
89- #: ../../library/crypt.rst:48
90+ #: ../../library/crypt.rst:49
9091msgid ""
9192"The :mod:`crypt` module defines the list of hashing methods (not all methods "
9293"are available on all platforms):"
9394msgstr ""
9495":mod:`crypt` モジュールはハッシュ化方式の一覧を定義しています (すべての方式が"
9596"すべてのプラットフォームで使えるわけではありません):"
9697
97- #: ../../library/crypt.rst:53
98+ #: ../../library/crypt.rst:54
9899msgid ""
99100"A Modular Crypt Format method with 16 character salt and 86 character hash "
100101"based on the SHA-512 hash function. This is the strongest method."
101102msgstr ""
102103
103- #: ../../library/crypt.rst:58
104+ #: ../../library/crypt.rst:59
104105msgid ""
105106"Another Modular Crypt Format method with 16 character salt and 43 character "
106107"hash based on the SHA-256 hash function."
107108msgstr ""
108109
109- #: ../../library/crypt.rst:63
110+ #: ../../library/crypt.rst:64
110111msgid ""
111112"Another Modular Crypt Format method with 22 character salt and 31 character "
112113"hash based on the Blowfish cipher."
113114msgstr ""
114115
115- #: ../../library/crypt.rst:70
116+ #: ../../library/crypt.rst:71
116117msgid ""
117118"Another Modular Crypt Format method with 8 character salt and 22 character "
118119"hash based on the MD5 hash function."
119120msgstr ""
120121
121- #: ../../library/crypt.rst:75
122+ #: ../../library/crypt.rst:76
122123msgid ""
123124"The traditional method with a 2 character salt and 13 characters of hash. "
124125"This is the weakest method."
125126msgstr ""
126127"2文字のソルトと13文字のハッシュ値を持つモジュラー暗号形式です。これが最も弱い"
127128"方式です。"
128129
129- #: ../../library/crypt.rst:80
130+ #: ../../library/crypt.rst:81
130131msgid "Module Attributes"
131132msgstr "モジュール属性"
132133
133- #: ../../library/crypt.rst:86
134+ #: ../../library/crypt.rst:87
134135msgid ""
135136"A list of available password hashing algorithms, as ``crypt.METHOD_*`` "
136137"objects. This list is sorted from strongest to weakest."
@@ -139,15 +140,15 @@ msgstr ""
139140"ジェクトとして返します。\n"
140141"このリストは最も強いものから弱いものの順で並べられています。"
141142
142- #: ../../library/crypt.rst:92
143+ #: ../../library/crypt.rst:93
143144msgid "Module Functions"
144145msgstr "モジュール関数"
145146
146- #: ../../library/crypt.rst:94
147+ #: ../../library/crypt.rst:95
147148msgid "The :mod:`crypt` module defines the following functions:"
148149msgstr ":mod:`crypt` モジュールは以下の関数を定義しています:"
149150
150- #: ../../library/crypt.rst:98
151+ #: ../../library/crypt.rst:99
151152msgid ""
152153"*word* will usually be a user's password as typed at a prompt or in a "
153154"graphical interface. The optional *salt* is either a string as returned "
@@ -157,7 +158,7 @@ msgid ""
157158"strongest method available in :attr:`methods` will be used."
158159msgstr ""
159160
160- #: ../../library/crypt.rst:105
161+ #: ../../library/crypt.rst:106
161162msgid ""
162163"Checking a password is usually done by passing the plain-text password as "
163164"*word* and the full results of a previous :func:`crypt` call, which should "
@@ -167,7 +168,7 @@ msgstr ""
167168"び出した結果と今回の呼び出しの結果が同じになることで、パスワードの確認を行い"
168169"ます。"
169170
170- #: ../../library/crypt.rst:109
171+ #: ../../library/crypt.rst:110
171172msgid ""
172173"*salt* (either a random 2 or 16 character string, possibly prefixed with "
173174"``$digit$`` to indicate the method) which will be used to perturb the "
@@ -180,15 +181,15 @@ msgstr ""
180181"れます。 *salt* に含まれる文字は、モジュラー暗号形式の先頭にある ``$digit$`` "
181182"を除いて、集合 ``[./a-zA-Z0-9]`` に含まれていなければいけません。"
182183
183- #: ../../library/crypt.rst:115
184+ #: ../../library/crypt.rst:116
184185msgid ""
185186"Returns the hashed password as a string, which will be composed of "
186187"characters from the same alphabet as the salt."
187188msgstr ""
188189"ハッシュ化されたパスワードを文字列として返します。それは salt と同じアルファ"
189190"ベット文字から構成されます。"
190191
191- #: ../../library/crypt.rst:120
192+ #: ../../library/crypt.rst:121
192193msgid ""
193194"Since a few :manpage:`crypt(3)` extensions allow different values, with "
194195"different sizes in the *salt*, it is recommended to use the full crypted "
@@ -198,24 +199,24 @@ msgstr ""
198199"るので、パスワードをチェックする際には crypt されたパスワード文字列全体を "
199200"*salt* として渡すよう勧めます。"
200201
201- #: ../../library/crypt.rst:124
202+ #: ../../library/crypt.rst:125
202203msgid "Accept ``crypt.METHOD_*`` values in addition to strings for *salt*."
203204msgstr ""
204205"文字列に加え、 *salt* が ``crypt.METHOD_*`` 値も受け取るようになりました。"
205206
206- #: ../../library/crypt.rst:130
207+ #: ../../library/crypt.rst:131
207208msgid ""
208209"Return a randomly generated salt of the specified method. If no *method* is "
209210"given, the strongest method available in :attr:`methods` is used."
210211msgstr ""
211212
212- #: ../../library/crypt.rst:134
213+ #: ../../library/crypt.rst:135
213214msgid ""
214215"The return value is a string suitable for passing as the *salt* argument to :"
215216"func:`crypt`."
216217msgstr ""
217218
218- #: ../../library/crypt.rst:137
219+ #: ../../library/crypt.rst:138
219220msgid ""
220221"*rounds* specifies the number of rounds for ``METHOD_SHA256``, "
221222"``METHOD_SHA512`` and ``METHOD_BLOWFISH``. For ``METHOD_SHA256`` and "
@@ -225,15 +226,15 @@ msgid ""
225226"sup:`31`), the default is ``4096`` (2\\ :sup:`12`)."
226227msgstr ""
227228
228- #: ../../library/crypt.rst:147
229+ #: ../../library/crypt.rst:148
229230msgid "Added the *rounds* parameter."
230231msgstr ""
231232
232- #: ../../library/crypt.rst:152
233+ #: ../../library/crypt.rst:153
233234msgid "Examples"
234235msgstr "使用例"
235236
236- #: ../../library/crypt.rst:154
237+ #: ../../library/crypt.rst:155
237238msgid ""
238239"A simple example illustrating typical use (a constant-time comparison "
239240"operation is needed to limit exposure to timing attacks. :func:`hmac."
@@ -243,16 +244,16 @@ msgstr ""
243244"間の比較演算子を使う必要があり、 :func:`hmac.compare_digest` がこの目的にちょ"
244245"うど良いです)::"
245246
246- #: ../../library/crypt.rst:174
247+ #: ../../library/crypt.rst:175
247248msgid ""
248249"To generate a hash of a password using the strongest available method and "
249250"check it against the original::"
250251msgstr ""
251252"利用可能な方式のうち最も強い方式を使いパスワードのハッシュ値を生成し、元のパ"
252253"スワードと比較してチェックします::"
253254
254- #: ../../library/crypt.rst:15 ../../library/crypt.rst:32
255- #: ../../library/crypt.rst:118
255+ #: ../../library/crypt.rst:15 ../../library/crypt.rst:33
256+ #: ../../library/crypt.rst:119
256257msgid "crypt(3)"
257258msgstr "crypt(3)"
258259
0 commit comments