@@ -15,7 +15,7 @@ msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version :Python 3.8\n "
17
17
"Report-Msgid-Bugs-To :\n "
18
- "POT-Creation-Date :2019-09-01 14:24 +0000\n "
18
+ "POT-Creation-Date :2019-10-18 11:42 +0000\n "
19
19
"PO-Revision-Date :2017-02-16 23:13+0000\n "
20
20
"Last-Translator :Takuya N <takninnovationresearch@gmail.com>, 2018\n "
21
21
"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -42,10 +42,11 @@ msgid ""
42
42
"Return a new hmac object. *key* is a bytes or bytearray object giving the "
43
43
"secret key. If *msg* is present, the method call ``update(msg)`` is made. "
44
44
"*digestmod* is the digest name, digest constructor or module for the HMAC "
45
- "object to use. It supports any name suitable to :func:`hashlib.new`."
45
+ "object to use. It may be any name suitable to :func:`hashlib.new`. Despite "
46
+ "its argument position, it is required."
46
47
msgstr ""
47
48
48
- #: ../../library/hmac.rst:24
49
+ #: ../../library/hmac.rst:25
49
50
msgid ""
50
51
"Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be "
51
52
"of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the "
@@ -54,11 +55,14 @@ msgstr ""
54
55
"引数 *key* に bytes または bytearray オブジェクトを渡せるようになりました。引数 *msg* に :mod:`hashlib` "
55
56
"がサポートする全てのタイプを渡せるようになりました。引数 *digestmod* にハッシュアルゴリズム名を渡せるようになりました。"
56
57
57
- #: ../../library/hmac.rst:30
58
- msgid "MD5 as implicit default digest for *digestmod* is deprecated."
59
- msgstr "MD5 が *digestmod* の暗黙のデフォルトダイジェストとなるのは廃止予定です。"
58
+ #: ../../library/hmac.rst:33
59
+ msgid ""
60
+ "MD5 as implicit default digest for *digestmod* is deprecated. The digestmod "
61
+ "parameter is now required. Pass it as a keyword argument to avoid "
62
+ "awkwardness when you do not have an initial msg."
63
+ msgstr ""
60
64
61
- #: ../../library/hmac.rst:35
65
+ #: ../../library/hmac.rst:38
62
66
msgid ""
63
67
"Return digest of *msg* for given secret *key* and *digest*. The function is "
64
68
"equivalent to ``HMAC(key, msg, digest).digest()``, but uses an optimized C "
@@ -67,18 +71,18 @@ msgid ""
67
71
":func:`~hmac.new`."
68
72
msgstr ""
69
73
70
- #: ../../library/hmac.rst:41
74
+ #: ../../library/hmac.rst:44
71
75
msgid ""
72
76
"CPython implementation detail, the optimized C implementation is only used "
73
77
"when *digest* is a string and name of a digest algorithm, which is supported"
74
78
" by OpenSSL."
75
79
msgstr ""
76
80
77
- #: ../../library/hmac.rst:48
81
+ #: ../../library/hmac.rst:51
78
82
msgid "An HMAC object has the following methods:"
79
83
msgstr "HMAC オブジェクトは以下のメソッドを持っています:"
80
84
81
- #: ../../library/hmac.rst:52
85
+ #: ../../library/hmac.rst:55
82
86
msgid ""
83
87
"Update the hmac object with *msg*. Repeated calls are equivalent to a "
84
88
"single call with the concatenation of all the arguments: ``m.update(a); "
@@ -88,11 +92,11 @@ msgstr ""
88
92
"で更新します。このメソッドの呼出の繰り返しは、それらの引数を全て結合した引数で単一の呼び出しをした際と同じになります。すなわち "
89
93
"``m.update(a); m.update(b)`` は ``m.update(a + b)`` と等価です。"
90
94
91
- #: ../../library/hmac.rst:56
95
+ #: ../../library/hmac.rst:59
92
96
msgid "Parameter *msg* can be of any type supported by :mod:`hashlib`."
93
97
msgstr "引数 *msg* は :mod:`hashlib` がサポートしているあらゆる型のいずれかです。"
94
98
95
- #: ../../library/hmac.rst:62
99
+ #: ../../library/hmac.rst:65
96
100
msgid ""
97
101
"Return the digest of the bytes passed to the :meth:`update` method so far. "
98
102
"This bytes object will be the same length as the *digest_size* of the digest"
@@ -102,7 +106,7 @@ msgstr ""
102
106
"これまで :meth:`update` メソッドに渡されたバイト列のダイジェスト値を返します。これはコンストラクタに与えられた "
103
107
"*digest_size* と同じ長さのバイト列で、 NUL バイトを含む非 ASCII 文字が含まれることがあります。"
104
108
105
- #: ../../library/hmac.rst:69
109
+ #: ../../library/hmac.rst:72
106
110
msgid ""
107
111
"When comparing the output of :meth:`digest` to an externally-supplied digest"
108
112
" during a verification routine, it is recommended to use the "
@@ -113,7 +117,7 @@ msgstr ""
113
117
"の出力結果と外部から供給されたダイジェストを検証ルーチン内で比較しようとするのであれば、タイミング攻撃への脆弱性を減らすために、 ``==`` "
114
118
"演算子ではなく :func:`compare_digest` を使うことをお奨めします。"
115
119
116
- #: ../../library/hmac.rst:77
120
+ #: ../../library/hmac.rst:80
117
121
msgid ""
118
122
"Like :meth:`digest` except the digest is returned as a string twice the "
119
123
"length containing only hexadecimal digits. This may be used to exchange the"
@@ -122,7 +126,7 @@ msgstr ""
122
126
":meth:`digest` "
123
127
"と似ていますが、返される文字列は倍の長さとなり、16進形式となります。これは、電子メールなどの非バイナリ環境で値を交換する場合に便利です。"
124
128
125
- #: ../../library/hmac.rst:83
129
+ #: ../../library/hmac.rst:86
126
130
msgid ""
127
131
"When comparing the output of :meth:`hexdigest` to an externally-supplied "
128
132
"digest during a verification routine, it is recommended to use the "
@@ -133,7 +137,7 @@ msgstr ""
133
137
"の出力結果と外部から供給されたダイジェストを検証ルーチン内で比較しようとするのであれば、タイミング攻撃への脆弱性を減らすために、 ``==`` "
134
138
"演算子ではなく :func:`compare_digest` を使うことをお奨めします。"
135
139
136
- #: ../../library/hmac.rst:91
140
+ #: ../../library/hmac.rst:94
137
141
msgid ""
138
142
"Return a copy (\" clone\" ) of the hmac object. This can be used to "
139
143
"efficiently compute the digests of strings that share a common initial "
@@ -142,27 +146,27 @@ msgstr ""
142
146
"hmac オブジェクトのコピー (\" クローン\" ) "
143
147
"を返します。このコピーは最初の部分文字列が共通になっている文字列のダイジェスト値を効率よく計算するために使うことができます。"
144
148
145
- #: ../../library/hmac.rst:95
149
+ #: ../../library/hmac.rst:98
146
150
msgid "A hash object has the following attributes:"
147
151
msgstr "ハッシュオブジェクトには次のような属性があります:"
148
152
149
- #: ../../library/hmac.rst:99
153
+ #: ../../library/hmac.rst:102
150
154
msgid "The size of the resulting HMAC digest in bytes."
151
155
msgstr "生成された HMAC ダイジェストのバイト数。"
152
156
153
- #: ../../library/hmac.rst:103
157
+ #: ../../library/hmac.rst:106
154
158
msgid "The internal block size of the hash algorithm in bytes."
155
159
msgstr "内部で使われるハッシュアルゴリズムのブロックのバイト数。"
156
160
157
- #: ../../library/hmac.rst:109
161
+ #: ../../library/hmac.rst:112
158
162
msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``."
159
163
msgstr "このHMAC の正規名で、例えば ``hmac-md5`` のように常に小文字です。"
160
164
161
- #: ../../library/hmac.rst:114
165
+ #: ../../library/hmac.rst:117
162
166
msgid "This module also provides the following helper function:"
163
167
msgstr "このモジュールは以下のヘルパ関数も提供しています:"
164
168
165
- #: ../../library/hmac.rst:118
169
+ #: ../../library/hmac.rst:121
166
170
msgid ""
167
171
"Return ``a == b``. This function uses an approach designed to prevent "
168
172
"timing analysis by avoiding content-based short circuiting behaviour, making"
@@ -175,7 +179,7 @@ msgstr ""
175
179
" *a* と *b* は両方が同じ型でなければなりません: (例えば :meth:`HMAC.hexdigest` が返したような ASCII のみの)"
176
180
" :class:`str` または :term:`bytes-like object` のどちらか一方。"
177
181
178
- #: ../../library/hmac.rst:126
182
+ #: ../../library/hmac.rst:129
179
183
msgid ""
180
184
"If *a* and *b* are of different lengths, or if an error occurs, a timing "
181
185
"attack could theoretically reveal information about the types and lengths of"
@@ -184,10 +188,10 @@ msgstr ""
184
188
"*a* と *b* が異なる長さであったりエラーが発生した場合には、タイミング攻撃で理論上 *a* と *b* "
185
189
"の型と長さについての情報が暴露されますが、その値は明らかになりません。"
186
190
187
- #: ../../library/hmac.rst:136
191
+ #: ../../library/hmac.rst:138
188
192
msgid "Module :mod:`hashlib`"
189
193
msgstr ":mod:`hashlib` モジュール"
190
194
191
- #: ../../library/hmac.rst:137
195
+ #: ../../library/hmac.rst:139
192
196
msgid "The Python module providing secure hash functions."
193
197
msgstr "セキュアハッシュ関数を提供する Python モジュールです。"