Skip to content

Commit c704efd

Browse files
Update translations
1 parent 11671c3 commit c704efd

File tree

3 files changed

+36
-6
lines changed

3 files changed

+36
-6
lines changed

library/hashlib.po

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ msgstr ""
292292

293293
#: ../../library/hashlib.rst:232
294294
msgid "Key derivation"
295-
msgstr ""
295+
msgstr "Derivação de chave"
296296

297297
#: ../../library/hashlib.rst:234
298298
msgid ""
@@ -302,12 +302,19 @@ msgid ""
302302
"be tunable, slow, and include a `salt <https://en.wikipedia.org/wiki/"
303303
"Salt_%28cryptography%29>`_."
304304
msgstr ""
305+
"Algoritmos de alongamento de chave e derivação de chave são projetados para "
306+
"criar hashes de senhas seguros. Algoritmos ingênuos como ``sha1(password)`` "
307+
"não são resistentes a ataques de força bruta. Uma boa função de hashing de "
308+
"senhas deve ser ajustável, lenta e incluir um `salt <https://pt.wikipedia."
309+
"org/wiki/Sal_(criptografia)>`_."
305310

306311
#: ../../library/hashlib.rst:242
307312
msgid ""
308313
"The function provides PKCS#5 password-based key derivation function 2. It "
309314
"uses HMAC as pseudorandom function."
310315
msgstr ""
316+
"A função fornece a função 2 de derivação de chave baseada em senha PKCS#5. "
317+
"Ela usa HMAC como função pseudoaleatória."
311318

312319
#: ../../library/hashlib.rst:245
313320
msgid ""
@@ -317,6 +324,11 @@ msgid ""
317324
"sensible length (e.g. 1024). *salt* should be about 16 or more bytes from a "
318325
"proper source, e.g. :func:`os.urandom`."
319326
msgstr ""
327+
"A string *hash_name* é o nome desejado do algoritmo de resumo de hash para "
328+
"HMAC, por exemplo, 'sha1' ou 'sha256'. *password* e *salt* são interpretados "
329+
"como buffers de bytes. Aplicações e bibliotecas devem limitar *password* a "
330+
"um comprimento razoável (por exemplo, 1024). *salt* deve ter cerca de 16 "
331+
"bytes ou mais de uma fonte adequada, por exemplo, :func:`os.urandom`."
320332

321333
#: ../../library/hashlib.rst:251
322334
msgid ""
@@ -326,6 +338,12 @@ msgid ""
326338
"your application, read *Appendix A.2.2* of NIST-SP-800-132_. The answers on "
327339
"the `stackexchange pbkdf2 iterations question`_ explain in detail."
328340
msgstr ""
341+
"O número de *iterations* deve ser escolhido com base no algoritmo de hash e "
342+
"no poder computacional. A partir de 2022, centenas de milhares de iterações "
343+
"do SHA-256 são sugeridas. Para entender por que e como escolher o que é "
344+
"melhor para sua aplicação, leia o *Appendix A.2.2* do NIST-SP-800-132_. As "
345+
"respostas à `pergunta sobre iterações de pbkdf2 no StackExchange`_ explicam "
346+
"em detalhes."
329347

330348
#: ../../library/hashlib.rst:257
331349
msgid ""
@@ -351,6 +369,8 @@ msgid ""
351369
"The function provides scrypt password-based key derivation function as "
352370
"defined in :rfc:`7914`."
353371
msgstr ""
372+
"A função fornece a função de derivação de chave baseada em senha scrypt, "
373+
"conforme definido em :rfc:`7914`."
354374

355375
#: ../../library/hashlib.rst:285
356376
msgid ""
@@ -359,6 +379,10 @@ msgid ""
359379
"length (e.g. 1024). *salt* should be about 16 or more bytes from a proper "
360380
"source, e.g. :func:`os.urandom`."
361381
msgstr ""
382+
"*password* e *salt* devem ser :term:`Objetos byte ou similar <bytes-like "
383+
"object>`. Aplicações e bibliotecas devem limitar *password* a um tamanho "
384+
"razoável (por exemplo, 1024). *salt* deve ter cerca de 16 bytes ou mais de "
385+
"uma fonte adequada, por exemplo, :func:`os.urandom`."
362386

363387
#: ../../library/hashlib.rst:290
364388
msgid ""
@@ -369,25 +393,31 @@ msgstr ""
369393

370394
#: ../../library/hashlib.rst:298
371395
msgid "BLAKE2"
372-
msgstr ""
396+
msgstr "BLAKE2"
373397

374398
#: ../../library/hashlib.rst:305
375399
msgid ""
376400
"BLAKE2_ is a cryptographic hash function defined in :rfc:`7693` that comes "
377401
"in two flavors:"
378402
msgstr ""
403+
"BLAKE2_ é uma função hash criptográfica definida em :rfc:`7693` que vem em "
404+
"dois sabores:"
379405

380406
#: ../../library/hashlib.rst:308
381407
msgid ""
382408
"**BLAKE2b**, optimized for 64-bit platforms and produces digests of any size "
383409
"between 1 and 64 bytes,"
384410
msgstr ""
411+
"**BLAKE2b**, otimizado para plataformas de 64 bits e produz resumos de "
412+
"qualquer tamanho entre 1 e 64 bytes,"
385413

386414
#: ../../library/hashlib.rst:311
387415
msgid ""
388416
"**BLAKE2s**, optimized for 8- to 32-bit platforms and produces digests of "
389417
"any size between 1 and 32 bytes."
390418
msgstr ""
419+
"**BLAKE2s**, otimizado para plataformas de 8 a 32 bits e produz resumos de "
420+
"qualquer tamanho entre 1 e 32 bytes."
391421

392422
#: ../../library/hashlib.rst:314
393423
msgid ""

potodo.md

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

8888

8989

90-
# library (60.84% done)
90+
# library (60.87% done)
9191

9292
- _thread.po 39 / 41 ( 95.0% translated).
9393
- argparse.po 256 / 290 ( 88.0% translated).
@@ -162,7 +162,7 @@
162162
- glob.po 20 / 21 ( 95.0% translated).
163163
- grp.po 27 / 28 ( 96.0% translated).
164164
- gzip.po 46 / 58 ( 79.0% translated).
165-
- hashlib.po 27 / 141 ( 19.0% translated).
165+
- hashlib.po 38 / 141 ( 26.0% translated).
166166
- heapq.po 49 / 51 ( 96.0% translated).
167167
- hmac.po 24 / 27 ( 88.0% translated).
168168
- html.parser.po 2 / 48 ( 4.0% translated).
@@ -324,5 +324,5 @@
324324
- 3.7.po 243 / 555 ( 43.0% translated).
325325

326326

327-
# TOTAL (64.46% done)
327+
# TOTAL (64.48% done)
328328

stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion": "64.46%", "translated": 33299, "entries": 51659, "updated_at": "2025-05-05T23:54:36+00:00Z"}
1+
{"completion": "64.48%", "translated": 33310, "entries": 51659, "updated_at": "2025-05-06T23:54:20+00:00Z"}

0 commit comments

Comments
 (0)