Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df57963

Browse files
Update translations
1 parent 5ca7002 commit df57963

File tree

3 files changed

+48
-10
lines changed

3 files changed

+48
-10
lines changed

library/hashlib.po

Lines changed: 44 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ msgstr ""
2525

2626
#: ../../library/hashlib.rst:2
2727
msgid ":mod:`!hashlib` --- Secure hashes and message digests"
28-
msgstr ""
28+
msgstr ":mod:`!hashlib` --- resumos de mensagens e hashes seguros"
2929

3030
#: ../../library/hashlib.rst:10
3131
msgid "**Source code:** :source:`Lib/hashlib.py`"
@@ -153,7 +153,7 @@ msgstr ""
153153

154154
#: ../../library/hashlib.rst:91
155155
msgid "Hashlib now uses SHA3 and SHAKE from OpenSSL if it provides it."
156-
msgstr "O Hashlib agora usa SHA3 e SHAKE do OpenSSL, se ele os fornecer."
156+
msgstr "O hashlib agora usa SHA3 e SHAKE do OpenSSL, se ele os fornecer."
157157

158158
#: ../../library/hashlib.rst:94
159159
msgid ""
@@ -239,7 +239,7 @@ msgstr "Atributos"
239239

240240
#: ../../library/hashlib.rst:154
241241
msgid "Hashlib provides the following constant module attributes:"
242-
msgstr "O Hashlib fornece os seguintes atributos de módulo constantes:"
242+
msgstr "O hashlib fornece os seguintes atributos de módulo constantes:"
243243

244244
#: ../../library/hashlib.rst:158
245245
msgid ""
@@ -438,7 +438,7 @@ msgstr "Exemplo:"
438438

439439
#: ../../library/hashlib.rst:306
440440
msgid "Key derivation"
441-
msgstr ""
441+
msgstr "Derivação de chave"
442442

443443
#: ../../library/hashlib.rst:308
444444
msgid ""
@@ -448,12 +448,19 @@ msgid ""
448448
"be tunable, slow, and include a `salt <https://en.wikipedia.org/wiki/"
449449
"Salt_%28cryptography%29>`_."
450450
msgstr ""
451+
"Algoritmos de alongamento de chave e derivação de chave são projetados para "
452+
"criar hashes de senhas seguros. Algoritmos ingênuos como ``sha1(password)`` "
453+
"não são resistentes a ataques de força bruta. Uma boa função de hashing de "
454+
"senhas deve ser ajustável, lenta e incluir um `salt <https://pt.wikipedia."
455+
"org/wiki/Sal_(criptografia)>`_."
451456

452457
#: ../../library/hashlib.rst:316
453458
msgid ""
454459
"The function provides PKCS#5 password-based key derivation function 2. It "
455460
"uses HMAC as pseudorandom function."
456461
msgstr ""
462+
"A função fornece a função 2 de derivação de chave baseada em senha PKCS#5. "
463+
"Ela usa HMAC como função pseudoaleatória."
457464

458465
#: ../../library/hashlib.rst:319
459466
msgid ""
@@ -463,6 +470,11 @@ msgid ""
463470
"sensible length (e.g. 1024). *salt* should be about 16 or more bytes from a "
464471
"proper source, e.g. :func:`os.urandom`."
465472
msgstr ""
473+
"A string *hash_name* é o nome desejado do algoritmo de resumo de hash para "
474+
"HMAC, por exemplo, 'sha1' ou 'sha256'. *password* e *salt* são interpretados "
475+
"como buffers de bytes. Aplicações e bibliotecas devem limitar *password* a "
476+
"um comprimento razoável (por exemplo, 1024). *salt* deve ter cerca de 16 "
477+
"bytes ou mais de uma fonte adequada, por exemplo, :func:`os.urandom`."
466478

467479
#: ../../library/hashlib.rst:325
468480
msgid ""
@@ -472,29 +484,42 @@ msgid ""
472484
"your application, read *Appendix A.2.2* of NIST-SP-800-132_. The answers on "
473485
"the `stackexchange pbkdf2 iterations question`_ explain in detail."
474486
msgstr ""
487+
"O número de *iterations* deve ser escolhido com base no algoritmo de hash e "
488+
"no poder computacional. A partir de 2022, centenas de milhares de iterações "
489+
"do SHA-256 são sugeridas. Para entender por que e como escolher o que é "
490+
"melhor para sua aplicação, leia o *Appendix A.2.2* do NIST-SP-800-132_. As "
491+
"respostas à `pergunta sobre iterações de pbkdf2 no StackExchange`_ explicam "
492+
"em detalhes."
475493

476494
#: ../../library/hashlib.rst:331
477495
msgid ""
478496
"*dklen* is the length of the derived key in bytes. If *dklen* is ``None`` "
479497
"then the digest size of the hash algorithm *hash_name* is used, e.g. 64 for "
480498
"SHA-512."
481499
msgstr ""
500+
"*dklen* é o comprimento da chave derivada em bytes. Se *dklen* for ``None``, "
501+
"o tamanho do resumo do algoritmo de hash *hash_name* será usado, por "
502+
"exemplo, 64 para SHA-512."
482503

483504
#: ../../library/hashlib.rst:340
484505
msgid "Function only available when Python is compiled with OpenSSL."
485-
msgstr ""
506+
msgstr "Função disponível somente quando Python é compilado com OpenSSL."
486507

487508
#: ../../library/hashlib.rst:344
488509
msgid ""
489510
"Function now only available when Python is built with OpenSSL. The slow pure "
490511
"Python implementation has been removed."
491512
msgstr ""
513+
"Função agora disponível apenas quando o Python é criado com OpenSSL. A "
514+
"implementação lenta do Python puro foi removida."
492515

493516
#: ../../library/hashlib.rst:350
494517
msgid ""
495518
"The function provides scrypt password-based key derivation function as "
496519
"defined in :rfc:`7914`."
497520
msgstr ""
521+
"A função fornece a função de derivação de chave baseada em senha scrypt, "
522+
"conforme definido em :rfc:`7914`."
498523

499524
#: ../../library/hashlib.rst:353
500525
msgid ""
@@ -503,35 +528,48 @@ msgid ""
503528
"length (e.g. 1024). *salt* should be about 16 or more bytes from a proper "
504529
"source, e.g. :func:`os.urandom`."
505530
msgstr ""
531+
"*password* e *salt* devem ser :term:`Objetos byte ou similar <bytes-like "
532+
"object>`. Aplicações e bibliotecas devem limitar *password* a um tamanho "
533+
"razoável (por exemplo, 1024). *salt* deve ter cerca de 16 bytes ou mais de "
534+
"uma fonte adequada, por exemplo, :func:`os.urandom`."
506535

507536
#: ../../library/hashlib.rst:358
508537
msgid ""
509538
"*n* is the CPU/Memory cost factor, *r* the block size, *p* parallelization "
510539
"factor and *maxmem* limits memory (OpenSSL 1.1.0 defaults to 32 MiB). "
511540
"*dklen* is the length of the derived key in bytes."
512541
msgstr ""
542+
"*n* é o fator de custo de CPU/memória, *r* o tamanho do bloco, *p* o fator "
543+
"de paralelismo e *maxmem* limita a memória (o padrão do OpenSSL 1.1.0 é 32 "
544+
"MiB). *dklen* é o comprimento da chave derivada em bytes."
513545

514546
#: ../../library/hashlib.rst:366
515547
msgid "BLAKE2"
516-
msgstr ""
548+
msgstr "BLAKE2"
517549

518550
#: ../../library/hashlib.rst:373
519551
msgid ""
520552
"BLAKE2_ is a cryptographic hash function defined in :rfc:`7693` that comes "
521553
"in two flavors:"
522554
msgstr ""
555+
"BLAKE2_ é uma função hash criptográfica definida em :rfc:`7693` que vem em "
556+
"dois sabores:"
523557

524558
#: ../../library/hashlib.rst:376
525559
msgid ""
526560
"**BLAKE2b**, optimized for 64-bit platforms and produces digests of any size "
527561
"between 1 and 64 bytes,"
528562
msgstr ""
563+
"**BLAKE2b**, otimizado para plataformas de 64 bits e produz resumos de "
564+
"qualquer tamanho entre 1 e 64 bytes,"
529565

530566
#: ../../library/hashlib.rst:379
531567
msgid ""
532568
"**BLAKE2s**, optimized for 8- to 32-bit platforms and produces digests of "
533569
"any size between 1 and 32 bytes."
534570
msgstr ""
571+
"**BLAKE2s**, otimizado para plataformas de 8 a 32 bits e produz resumos de "
572+
"qualquer tamanho entre 1 e 32 bytes."
535573

536574
#: ../../library/hashlib.rst:382
537575
msgid ""

potodo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272

7373

74-
# library (62.79% done)
74+
# library (62.83% done)
7575

7676
- 2to3.po 121 / 132 ( 91.0% translated).
7777
- array.po 77 / 84 ( 91.0% translated).
@@ -127,7 +127,7 @@
127127
- ftplib.po 11 / 99 ( 11.0% translated).
128128
- functools.po 20 / 115 ( 17.0% translated).
129129
- gzip.po 60 / 65 ( 92.0% translated).
130-
- hashlib.po 55 / 168 ( 32.0% translated).
130+
- hashlib.po 71 / 168 ( 42.0% translated).
131131
- html.parser.po 3 / 60 ( 5.0% translated).
132132
- http.client.po 45 / 117 ( 38.0% translated).
133133
- http.cookiejar.po 9 / 159 ( 5.0% translated).
@@ -255,5 +255,5 @@
255255
- 3.7.po 252 / 568 ( 44.0% translated).
256256

257257

258-
# TOTAL (67.75% done)
258+
# TOTAL (67.78% done)
259259

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "67.75%", "translated": 42003, "entries": 61994, "updated_at": "2025-05-05T23:29:35+00:00Z"}
1+
{"completion": "67.78%", "translated": 42019, "entries": 61994, "updated_at": "2025-05-06T23:27:50+00:00Z"}

0 commit comments

Comments
 (0)