Skip to content

Commit d2db27e

Browse files
Francisco Morartobar
Francisco Mora
andauthored
Traducido archivo library/hashlib (#2301)
Closes #1951 --------- Co-authored-by: Rodrigo Tobar <rtobar@icrar.org>
1 parent b0b6e6d commit d2db27e

File tree

1 file changed

+32
-16
lines changed

1 file changed

+32
-16
lines changed

library/hashlib.po

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
14-
"PO-Revision-Date: 2021-12-15 11:16+0800\n"
15-
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
16-
"Language: es\n"
14+
"PO-Revision-Date: 2023-02-10 12:24-0300\n"
15+
"Last-Translator: Francisco Mora <fr.morac@duocuc.cl>\n"
1716
"Language-Team: python-doc-es\n"
18-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
17+
"Language: es\n"
1918
"MIME-Version: 1.0\n"
2019
"Content-Type: text/plain; charset=utf-8\n"
2120
"Content-Transfer-Encoding: 8bit\n"
21+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2222
"Generated-By: Babel 2.10.3\n"
23+
"X-Generator: Poedit 2.4.2\n"
2324

2425
#: ../Doc/library/hashlib.rst:2
2526
msgid ":mod:`hashlib` --- Secure hashes and message digests"
@@ -154,7 +155,6 @@ msgid "Hashlib now uses SHA3 and SHAKE from OpenSSL 1.1.1 and newer."
154155
msgstr "Hashlib ahora usa SHA3 y SHAKE de OpenSSL 1.1.1 y posteriores."
155156

156157
#: ../Doc/library/hashlib.rst:94
157-
#, fuzzy
158158
msgid ""
159159
"For example, to obtain the digest of the byte string ``b\"Nobody inspects "
160160
"the spammish repetition\"``::"
@@ -334,20 +334,23 @@ msgstr ""
334334
"contener bytes en el rango completo desde 0 a 255."
335335

336336
#: ../Doc/library/hashlib.rst:230
337-
#, fuzzy
338337
msgid "File hashing"
339-
msgstr "Cifrado simple"
338+
msgstr "Cifrado de archivos"
340339

341340
#: ../Doc/library/hashlib.rst:232
342341
msgid ""
343342
"The hashlib module provides a helper function for efficient hashing of a "
344343
"file or file-like object."
345344
msgstr ""
345+
"El módulo hashlib proporciona una función de ayuda para el cifrado eficiente "
346+
"de un archivo o un objeto similar a un archivo."
346347

347348
#: ../Doc/library/hashlib.rst:237
348349
msgid ""
349350
"Return a digest object that has been updated with contents of file object."
350351
msgstr ""
352+
"Retorna un objeto digest que ha sido actualizado con el contenido del objeto "
353+
"de tipo archivo."
351354

352355
#: ../Doc/library/hashlib.rst:239
353356
msgid ""
@@ -359,17 +362,25 @@ msgid ""
359362
"an unknown state after this function returns or raises. It is up to the "
360363
"caller to close *fileobj*."
361364
msgstr ""
365+
"*fileobj* debe ser un objeto similar a un archivo abierto para lectura en "
366+
"modo binario. Acepta objetos fichero de instancias :func:`open`, :class:`~io."
367+
"BytesIO`, objetos SocketIO de :meth:`socket.socket.makefile`, y similares. "
368+
"La función puede saltarse la E/S de Python y usar directamente el descriptor "
369+
"de fichero de :meth:`~io.IOBase.fileno`. Debe asumirse que *fileobj* está en "
370+
"un estado desconocido después de que esta función devuelva o lance. Es "
371+
"responsabilidad del que llama cerrar *fileobj*."
362372

363373
#: ../Doc/library/hashlib.rst:247
364374
msgid ""
365375
"*digest* must either be a hash algorithm name as a *str*, a hash "
366376
"constructor, or a callable that returns a hash object."
367377
msgstr ""
378+
"*digest* debe ser un nombre de algoritmo de cifrado como *str*, un "
379+
"constructor de cifrado o un invocable que devuelva un objeto cifrado."
368380

369381
#: ../Doc/library/hashlib.rst:250
370-
#, fuzzy
371382
msgid "Example:"
372-
msgstr "Ejemplos"
383+
msgstr "Ejemplo:"
373384

374385
#: ../Doc/library/hashlib.rst:273
375386
msgid "Key derivation"
@@ -388,7 +399,7 @@ msgstr ""
388399
"diseñados para el cifrado seguro de contraseña. Algoritmos ingenuos como "
389400
"``sha1(password)`` no son resistentes contra ataques de fuerza bruta. Una "
390401
"buena función hash de contraseña debe ser afinable, lenta e incluir una `sal "
391-
"<https://es.wikipedia.org/wiki/Sal_(criptograf%C3%ADa)>`_."
402+
"<https://en.wikipedia.org/wiki/Salt_%28cryptography%29>`_."
392403

393404
#: ../Doc/library/hashlib.rst:283
394405
msgid ""
@@ -420,6 +431,11 @@ msgid ""
420431
"your application, read *Appendix A.2.2* of NIST-SP-800-132_. The answers on "
421432
"the `stackexchange pbkdf2 iterations question`_ explain in detail."
422433
msgstr ""
434+
"El número de *iterations* debe elegirse en función del algoritmo de cifrado "
435+
"y la potencia de cálculo. A partir de 2022, se sugieren cientos de miles de "
436+
"iteraciones de SHA-256. Para saber por qué y cómo elegir lo mejor para su "
437+
"aplicación, lea el *Apéndice A.2.2* de NIST-SP-800-132_. Las respuestas "
438+
"sobre `stackexchange pbkdf2 iterations question`_ lo explican en detalle."
423439

424440
#: ../Doc/library/hashlib.rst:298
425441
msgid ""
@@ -701,16 +717,15 @@ msgstr ""
701717
"BLAKE2s, 0 en modo secuencial)."
702718

703719
#: ../Doc/library/hashlib.rst:434
704-
#, fuzzy
705720
msgid ""
706721
"*last_node*: boolean indicating whether the processed node is the last one "
707722
"(``False`` for sequential mode)."
708723
msgstr ""
709-
"*last_node*: booleano indicando si el nodo procesado es el último (`False` "
724+
"*last_node*: booleano indicando si el nodo procesado es el último (``False`` "
710725
"para modo secuencial)."
711726

712727
msgid "Explanation of tree mode parameters."
713-
msgstr ""
728+
msgstr "Explicación de los parámetros del modo árbol."
714729

715730
#: ../Doc/library/hashlib.rst:440
716731
msgid ""
@@ -965,13 +980,12 @@ msgstr ""
965980
"resumidamente detiene este tipo de ataque."
966981

967982
#: ../Doc/library/hashlib.rst:670
968-
#, fuzzy
969983
msgid ""
970984
"(`The Skein Hash Function Family <https://www.schneier.com/wp-content/"
971985
"uploads/2016/02/skein.pdf>`_, p. 21)"
972986
msgstr ""
973-
"(`The Skein Hash Function Family <http://www.skein-hash.info/sites/default/"
974-
"files/skein1.3.pdf>`_, p. 21)"
987+
"(`The Skein Hash Function Family <https://www.schneier.com/wp-content/"
988+
"uploads/2016/02/skein.pdf>`_, p. 21)"
975989

976990
#: ../Doc/library/hashlib.rst:674
977991
msgid "BLAKE2 can be personalized by passing bytes to the *person* argument::"
@@ -1149,10 +1163,12 @@ msgstr "PKCS #5: Password-Based Cryptography Specification Version 2.1"
11491163
msgid ""
11501164
"https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf"
11511165
msgstr ""
1166+
"https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf"
11521167

11531168
#: ../Doc/library/hashlib.rst:804
11541169
msgid "NIST Recommendation for Password-Based Key Derivation."
11551170
msgstr ""
1171+
"Recomendación de NIST para la derivación de claves basadas en contraseña."
11561172

11571173
#~ msgid ""
11581174
#~ "The number of *iterations* should be chosen based on the hash algorithm "

0 commit comments

Comments
 (0)