@@ -126,7 +126,7 @@ msgid ""
126126"Checking a password is usually done by passing the plain-text password as "
127127"*word* and the full results of a previous :func:`crypt` call, which should "
128128"be the same as the results of this call."
129- msgstr ""
129+ msgstr "查验口令通常是传入纯文本密码 *word* ,和之前 :func:`crypt` 调用的结果进行比较,应该与本次调用的结果相同。 "
130130
131131#: ../../library/crypt.rst:100
132132msgid ""
@@ -141,31 +141,32 @@ msgstr ""
141141msgid ""
142142"Returns the hashed password as a string, which will be composed of "
143143"characters from the same alphabet as the salt."
144- msgstr ""
144+ msgstr "返回哈希后的口令字符串,将由 salt 所在字母表中的字符组成。 "
145145
146146#: ../../library/crypt.rst:111
147147msgid ""
148148"Since a few :manpage:`crypt(3)` extensions allow different values, with "
149149"different sizes in the *salt*, it is recommended to use the full crypted "
150150"password as salt when checking for a password."
151151msgstr ""
152+ "由于有些 :manpage:`crypt(3)` 扩展允许不同的值, *salt* 大小也可不同,建议在查验口令时采用完整的加密后口令作为 salt。"
152153
153154#: ../../library/crypt.rst:115
154155msgid "Accept ``crypt.METHOD_*`` values in addition to strings for *salt*."
155- msgstr ""
156+ msgstr "除了字符串之外, *salt* 还可接受 ``crypt.METHOD_*`` 值。 "
156157
157158#: ../../library/crypt.rst:121
158159msgid ""
159160"Return a randomly generated salt of the specified method. If no *method* is"
160161" given, the strongest method available as returned by :func:`methods` is "
161162"used."
162- msgstr ""
163+ msgstr "返回用指定方法随机生成的 salt。如果没有给出 *method*,则使用 :func:`methods` 返回的最强方法。 "
163164
164165#: ../../library/crypt.rst:125
165166msgid ""
166167"The return value is a string suitable for passing as the *salt* argument to "
167168":func:`crypt`."
168- msgstr ""
169+ msgstr "返回一个字符串,可用作传入 :func:`crypt` 的 *salt* 参数。 "
169170
170171#: ../../library/crypt.rst:128
171172msgid ""
0 commit comments