Skip to content
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-Authored-By: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
  • Loading branch information
deronnax and christopheNan authored Mar 9, 2020
commit 5bfe4ebda82caace74d1b6f9e364b7b6e94e2571
10 changes: 5 additions & 5 deletions library/hmac.po
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ msgid ""
"its argument position, it is required."
msgstr ""
"Renvoie un nouvel objet HMAC. *key* est un objet *byte* ou *bytearray* "
"donnant la clé secrète. Si *msg* est présent, un appel à ``update(msg)`` "
"représentant la clé secrète. Si *msg* est présent, un appel à ``update(msg)`` "
"est effectué. *digestmod* permet de choisir l’algorithme à utiliser par "
"l’objet HMAC, il accepte un nom de fonction de hachage (peut être tout ce "
"qui convient :func:`hashlib.new`), un constructeur de fonction de hachage ou "
Expand Down Expand Up @@ -134,7 +134,7 @@ msgstr ""
"par ailleurs par un service extérieur durant une routine de vérification, il "
"est recommandé d'utiliser la fonction :func:`compare_digest` au lieu de "
"l'opérateur ``==`` afin de réduire la vulnérabilité aux attaques temporelles."
"les temps de réponse."
""

#: ../Doc/library/hmac.rst:80
msgid ""
Expand Down Expand Up @@ -166,17 +166,17 @@ msgid ""
"efficiently compute the digests of strings that share a common initial "
"substring."
msgstr ""
"Retourne une copie (un clone) de l'objet HMAC. C'est utile pour calculer de "
"Renvoie une copie (un clone) de l'objet HMAC. C'est utile pour calculer de "
"manière efficace les empreintes cryptographiques de chaînes de caractères "
"qui ont en commun une sous-chaîne initiale."

#: ../Doc/library/hmac.rst:98
msgid "A hash object has the following attributes:"
msgstr "Un objet *hash* possède les attributs suivants :"
msgstr "Un objet *code d'authentification de message* (HMAC) possède les attributs suivants :"

#: ../Doc/library/hmac.rst:102
msgid "The size of the resulting HMAC digest in bytes."
msgstr "La taille de l'empreinte cryptographique en octets."
msgstr "La taille du code d'authentification (c-à-d de l'empreinte cryptographique) en octets."

#: ../Doc/library/hmac.rst:106
msgid "The internal block size of the hash algorithm in bytes."
Expand Down