@@ -13,18 +13,20 @@ msgstr ""
1313"MIME-Version : 1.0\n "
1414"Content-Type : text/plain; charset=UTF-8\n "
1515"Content-Transfer-Encoding : 8bit\n "
16+ "Last-Translator : \n "
17+ "X-Generator : Poedit 2.2.3\n "
1618
1719#: ../Doc/library/hmac.rst:2
1820msgid ":mod:`hmac` --- Keyed-Hashing for Message Authentication"
19- msgstr ""
21+ msgstr ":mod:`hmac` --- Hachage à clé pour Authentification des Messages "
2022
2123#: ../Doc/library/hmac.rst:10
2224msgid "**Source code:** :source:`Lib/hmac.py`"
2325msgstr "**Code source :** :source:`Lib/hmac.py`"
2426
2527#: ../Doc/library/hmac.rst:14
2628msgid "This module implements the HMAC algorithm as described by :rfc:`2104`."
27- msgstr ""
29+ msgstr "Ce module implémente l'algorithme HMAC tel que décrit par :rfc:'2104'. "
2830
2931#: ../Doc/library/hmac.rst:19
3032msgid ""
@@ -34,13 +36,23 @@ msgid ""
3436"object to use. It may be any name suitable to :func:`hashlib.new`. Despite "
3537"its argument position, it is required."
3638msgstr ""
39+ "Retourne un nouvel object hmac. *key* est un **byte** ou un objet "
40+ "**bytearray** donnant la clé secrète. Si *msg* est présent, la méthode "
41+ "``update(msg)`` est appelée. *digestmod* est le nom du **digest**, le "
42+ "constructeur du **digest** ou le module à utiliser de l'object HMAC. Il "
43+ "accepte tous les noms appropriés à :func:`hashlib.new` et est définir par "
44+ "défaut sur le constructeur :data:`hashlib.md5`."
3745
3846#: ../Doc/library/hmac.rst:25
3947msgid ""
4048"Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be "
4149"of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the "
4250"name of a hash algorithm."
4351msgstr ""
52+ "Le paramètre *key* peut être un **byte** ou un objet **bytearray**. Le "
53+ "paramètre **msg** peut être de n'importe quel type pris en charge par :mod:"
54+ "`hashlib`. Le paramètre *digestmod* peut être le nom d'un algorithme de "
55+ "hachage. "
4456
4557#: ../Doc/library/hmac.rst:33
4658msgid ""
@@ -57,28 +69,42 @@ msgid ""
5769"The parameters *key*, *msg*, and *digest* have the same meaning as in :func:"
5870"`~hmac.new`."
5971msgstr ""
72+ "Retourne le **digest** de *msg* pour une *key* secrète et un **digest** "
73+ "donnés. La fonction est équivalente à ``HMAC(key, msg, digest).digest()``, "
74+ "mais elle utilise du C optimisé ou une implémentation **inline**, ce qui est "
75+ "plus rapide pour les messages qui s'intègrent dans la mémoire. Les "
76+ "paramètres *key*, *msg* and *digest* on la même signification que dans :"
77+ "func:`~hmac.new`."
6078
6179#: ../Doc/library/hmac.rst:44
6280msgid ""
6381"CPython implementation detail, the optimized C implementation is only used "
6482"when *digest* is a string and name of a digest algorithm, which is supported "
6583"by OpenSSL."
6684msgstr ""
85+ "Détail d'implémentation CPython, l'implémentation C optimisée n'est utilisée "
86+ "que lorsque le **digest** est une chaîne de caractères et le nom d'un "
87+ "algorithme de **digest** qui est supporté par OpenSSL."
6788
6889#: ../Doc/library/hmac.rst:51
6990msgid "An HMAC object has the following methods:"
70- msgstr ""
91+ msgstr "Un objet HMAC a les méthodes suivantes : "
7192
7293#: ../Doc/library/hmac.rst:55
7394msgid ""
7495"Update the hmac object with *msg*. Repeated calls are equivalent to a "
7596"single call with the concatenation of all the arguments: ``m.update(a); m."
7697"update(b)`` is equivalent to ``m.update(a + b)``."
7798msgstr ""
99+ "Met à jour l'object hmac avec *msg*. Des appels répétés sont équivalents à "
100+ "un seul appel avec la concaténation de tous les arguments: ``m.update(a); m."
101+ "update(b)`` est équivalent à ``m.update(a + b)``."
78102
79103#: ../Doc/library/hmac.rst:59
80104msgid "Parameter *msg* can be of any type supported by :mod:`hashlib`."
81105msgstr ""
106+ "Le paramètre *msg* peut être de n'importe quel type supporté par :mod:"
107+ "`hashlib`."
82108
83109#: ../Doc/library/hmac.rst:65
84110msgid ""
@@ -87,6 +113,10 @@ msgid ""
87113"given to the constructor. It may contain non-ASCII bytes, including NUL "
88114"bytes."
89115msgstr ""
116+ "Retourne le **digest** des **bytes** passés à la méthode :meth:`update` "
117+ "jusque là. Cet objet **bytes** sera de la même longueur que la *digest_size* "
118+ "du **digest** donné au constructeur. Il peut contenir des octets qui ne sont "
119+ "pas dans la table ASCII, y compris des octets NUL."
90120
91121#: ../Doc/library/hmac.rst:72
92122msgid ""
@@ -95,13 +125,22 @@ msgid ""
95125"`compare_digest` function instead of the ``==`` operator to reduce the "
96126"vulnerability to timing attacks."
97127msgstr ""
128+ "Si l'on compare la sortie de :meth:`digest` avec celle d'un **digest** "
129+ "obtenu par un service extérieur durant une routine de vérification, il est "
130+ "recommandé d'utiliser la fonction :func:`compare_digest` au lieu de "
131+ "l'opérateur ``==`` afin de réduire la vulnérabilité aux attaques basées sur "
132+ "les temps de réponse."
98133
99134#: ../Doc/library/hmac.rst:80
100135msgid ""
101136"Like :meth:`digest` except the digest is returned as a string twice the "
102137"length containing only hexadecimal digits. This may be used to exchange the "
103138"value safely in email or other non-binary environments."
104139msgstr ""
140+ "Comme :meth:`digest` sauf que ce **digest** est retourné en tant que chaîne "
141+ "de caractères de taille doublée contenant seulement des chiffres "
142+ "hexadécimaux. C'est utile pour échanger cette valeur de façon sécurisée par "
143+ "email ou dans d'autres environnements non binaires."
105144
106145#: ../Doc/library/hmac.rst:86
107146msgid ""
@@ -110,21 +149,29 @@ msgid ""
110149"`compare_digest` function instead of the ``==`` operator to reduce the "
111150"vulnerability to timing attacks."
112151msgstr ""
152+ "Si l'on compare la sortie de :meth:`hexdigest` avec celle d'un **digest** "
153+ "obtenu par un service extérieur durant une routine de vérification, il est "
154+ "recommandé d'utiliser la fonction :func:`compare_digest` au lieu de "
155+ "l'opérateur ``==`` afin de réduire la vulnérabilité aux attaques basées sur "
156+ "les temps de réponse."
113157
114158#: ../Doc/library/hmac.rst:94
115159msgid ""
116160"Return a copy (\" clone\" ) of the hmac object. This can be used to "
117161"efficiently compute the digests of strings that share a common initial "
118162"substring."
119163msgstr ""
164+ "Retourne une copie (un clone) de l'objet hmac. C'est utile pour calculer de "
165+ "manière efficace les **digests** de chaînes de caractères qui ont en commun "
166+ "une sous-chaîne initiale."
120167
121168#: ../Doc/library/hmac.rst:98
122169msgid "A hash object has the following attributes:"
123- msgstr "L' objet haché possède les attributs suivants : :"
170+ msgstr "Un objet **hash** possède les attributs suivants :"
124171
125172#: ../Doc/library/hmac.rst:102
126173msgid "The size of the resulting HMAC digest in bytes."
127- msgstr ""
174+ msgstr "La taille du HMAC **digest** résultant en octets. "
128175
129176#: ../Doc/library/hmac.rst:106
130177msgid "The internal block size of the hash algorithm in bytes."
@@ -133,10 +180,12 @@ msgstr "La taille interne d'un bloc de l'algorithme de hachage en octets."
133180#: ../Doc/library/hmac.rst:112
134181msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``."
135182msgstr ""
183+ "Le nom canonique de ce HMAC, toujours en lettres minuscules, par exemple "
184+ "``hmac-md5``."
136185
137186#: ../Doc/library/hmac.rst:117
138187msgid "This module also provides the following helper function:"
139- msgstr ""
188+ msgstr "Ce module fournit également la fonction utilitaire suivante: "
140189
141190#: ../Doc/library/hmac.rst:121
142191msgid ""
0 commit comments