@@ -295,7 +295,7 @@ msgstr ""
295
295
296
296
#: ../../library/hashlib.rst:232
297
297
msgid "Key derivation"
298
- msgstr ""
298
+ msgstr "Derivação de chave "
299
299
300
300
#: ../../library/hashlib.rst:234
301
301
msgid ""
@@ -305,12 +305,19 @@ msgid ""
305
305
"be tunable, slow, and include a `salt <https://en.wikipedia.org/wiki/"
306
306
"Salt_%28cryptography%29>`_."
307
307
msgstr ""
308
+ "Algoritmos de alongamento de chave e derivação de chave são projetados para "
309
+ "criar hashes de senhas seguros. Algoritmos ingênuos como ``sha1(password)`` "
310
+ "não são resistentes a ataques de força bruta. Uma boa função de hashing de "
311
+ "senhas deve ser ajustável, lenta e incluir um `salt <https://pt.wikipedia."
312
+ "org/wiki/Sal_(criptografia)>`_."
308
313
309
314
#: ../../library/hashlib.rst:242
310
315
msgid ""
311
316
"The function provides PKCS#5 password-based key derivation function 2. It "
312
317
"uses HMAC as pseudorandom function."
313
318
msgstr ""
319
+ "A função fornece a função 2 de derivação de chave baseada em senha PKCS#5. "
320
+ "Ela usa HMAC como função pseudoaleatória."
314
321
315
322
#: ../../library/hashlib.rst:245
316
323
msgid ""
@@ -320,6 +327,11 @@ msgid ""
320
327
"sensible length (e.g. 1024). *salt* should be about 16 or more bytes from a "
321
328
"proper source, e.g. :func:`os.urandom`."
322
329
msgstr ""
330
+ "A string *hash_name* é o nome desejado do algoritmo de resumo de hash para "
331
+ "HMAC, por exemplo, 'sha1' ou 'sha256'. *password* e *salt* são interpretados "
332
+ "como buffers de bytes. Aplicações e bibliotecas devem limitar *password* a "
333
+ "um comprimento razoável (por exemplo, 1024). *salt* deve ter cerca de 16 "
334
+ "bytes ou mais de uma fonte adequada, por exemplo, :func:`os.urandom`."
323
335
324
336
#: ../../library/hashlib.rst:251
325
337
msgid ""
@@ -346,6 +358,8 @@ msgid ""
346
358
"The function provides scrypt password-based key derivation function as "
347
359
"defined in :rfc:`7914`."
348
360
msgstr ""
361
+ "A função fornece a função de derivação de chave baseada em senha scrypt, "
362
+ "conforme definido em :rfc:`7914`."
349
363
350
364
#: ../../library/hashlib.rst:276
351
365
msgid ""
@@ -354,6 +368,10 @@ msgid ""
354
368
"length (e.g. 1024). *salt* should be about 16 or more bytes from a proper "
355
369
"source, e.g. :func:`os.urandom`."
356
370
msgstr ""
371
+ "*password* e *salt* devem ser :term:`Objetos byte ou similar <bytes-like "
372
+ "object>`. Aplicações e bibliotecas devem limitar *password* a um tamanho "
373
+ "razoável (por exemplo, 1024). *salt* deve ter cerca de 16 bytes ou mais de "
374
+ "uma fonte adequada, por exemplo, :func:`os.urandom`."
357
375
358
376
#: ../../library/hashlib.rst:281
359
377
msgid ""
@@ -368,25 +386,31 @@ msgstr ""
368
386
369
387
#: ../../library/hashlib.rst:291
370
388
msgid "BLAKE2"
371
- msgstr ""
389
+ msgstr "BLAKE2 "
372
390
373
391
#: ../../library/hashlib.rst:298
374
392
msgid ""
375
393
"BLAKE2_ is a cryptographic hash function defined in :rfc:`7693` that comes "
376
394
"in two flavors:"
377
395
msgstr ""
396
+ "BLAKE2_ é uma função hash criptográfica definida em :rfc:`7693` que vem em "
397
+ "dois sabores:"
378
398
379
399
#: ../../library/hashlib.rst:301
380
400
msgid ""
381
401
"**BLAKE2b**, optimized for 64-bit platforms and produces digests of any size "
382
402
"between 1 and 64 bytes,"
383
403
msgstr ""
404
+ "**BLAKE2b**, otimizado para plataformas de 64 bits e produz resumos de "
405
+ "qualquer tamanho entre 1 e 64 bytes,"
384
406
385
407
#: ../../library/hashlib.rst:304
386
408
msgid ""
387
409
"**BLAKE2s**, optimized for 8- to 32-bit platforms and produces digests of "
388
410
"any size between 1 and 32 bytes."
389
411
msgstr ""
412
+ "**BLAKE2s**, otimizado para plataformas de 8 a 32 bits e produz resumos de "
413
+ "qualquer tamanho entre 1 e 32 bytes."
390
414
391
415
#: ../../library/hashlib.rst:307
392
416
msgid ""
0 commit comments