1
0
Fork 0
python-docs-fr/library/hmac.po

163 lines
5.3 KiB
Plaintext
Raw Normal View History

2018-07-04 09:06:45 +00:00
# Copyright (C) 2001-2018, Python Software Foundation
2016-10-30 09:46:26 +00:00
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
2018-06-28 13:32:56 +00:00
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
2016-10-30 09:46:26 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/hmac.rst:2
msgid ":mod:`hmac` --- Keyed-Hashing for Message Authentication"
msgstr ""
#: ../Doc/library/hmac.rst:10
msgid "**Source code:** :source:`Lib/hmac.py`"
msgstr "**Code source :** :source:`Lib/hmac.py`"
#: ../Doc/library/hmac.rst:14
msgid "This module implements the HMAC algorithm as described by :rfc:`2104`."
msgstr ""
#: ../Doc/library/hmac.rst:19
msgid ""
"Return a new hmac object. *key* is a bytes or bytearray object giving the "
"secret key. If *msg* is present, the method call ``update(msg)`` is made. "
"*digestmod* is the digest name, digest constructor or module for the HMAC "
"object to use. It supports any name suitable to :func:`hashlib.new` and "
"defaults to the :data:`hashlib.md5` constructor."
msgstr ""
#: ../Doc/library/hmac.rst:25
msgid ""
"Parameter *key* can be a bytes or bytearray object. Parameter *msg* can be "
"of any type supported by :mod:`hashlib`. Parameter *digestmod* can be the "
"name of a hash algorithm."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:31
2016-10-30 09:46:26 +00:00
msgid "MD5 as implicit default digest for *digestmod* is deprecated."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:36
msgid ""
"Return digest of *msg* for given secret *key* and *digest*. The function is "
"equivalent to ``HMAC(key, msg, digest).digest()``, but uses an optimized C "
"or inline implementation, which is faster for messages that fit into memory. "
"The parameters *key*, *msg*, and *digest* have the same meaning as in :func:"
"`~hmac.new`."
msgstr ""
#: ../Doc/library/hmac.rst:42
msgid ""
"CPython implementation detail, the optimized C implementation is only used "
"when *digest* is a string and name of a digest algorithm, which is supported "
"by OpenSSL."
msgstr ""
#: ../Doc/library/hmac.rst:49
2016-10-30 09:46:26 +00:00
msgid "An HMAC object has the following methods:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:53
2016-10-30 09:46:26 +00:00
msgid ""
"Update the hmac object with *msg*. Repeated calls are equivalent to a "
"single call with the concatenation of all the arguments: ``m.update(a); m."
"update(b)`` is equivalent to ``m.update(a + b)``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:57
2016-10-30 09:46:26 +00:00
msgid "Parameter *msg* can be of any type supported by :mod:`hashlib`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:63
2016-10-30 09:46:26 +00:00
msgid ""
"Return the digest of the bytes passed to the :meth:`update` method so far. "
"This bytes object will be the same length as the *digest_size* of the digest "
"given to the constructor. It may contain non-ASCII bytes, including NUL "
"bytes."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:70
2016-10-30 09:46:26 +00:00
msgid ""
"When comparing the output of :meth:`digest` to an externally-supplied digest "
"during a verification routine, it is recommended to use the :func:"
"`compare_digest` function instead of the ``==`` operator to reduce the "
"vulnerability to timing attacks."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:78
2016-10-30 09:46:26 +00:00
msgid ""
"Like :meth:`digest` except the digest is returned as a string twice the "
"length containing only hexadecimal digits. This may be used to exchange the "
"value safely in email or other non-binary environments."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:84
2016-10-30 09:46:26 +00:00
msgid ""
"When comparing the output of :meth:`hexdigest` to an externally-supplied "
"digest during a verification routine, it is recommended to use the :func:"
"`compare_digest` function instead of the ``==`` operator to reduce the "
"vulnerability to timing attacks."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:92
2016-10-30 09:46:26 +00:00
msgid ""
"Return a copy (\"clone\") of the hmac object. This can be used to "
"efficiently compute the digests of strings that share a common initial "
"substring."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:96
2016-10-30 09:46:26 +00:00
msgid "A hash object has the following attributes:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:100
2016-10-30 09:46:26 +00:00
msgid "The size of the resulting HMAC digest in bytes."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:104
2016-10-30 09:46:26 +00:00
msgid "The internal block size of the hash algorithm in bytes."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:110
2016-10-30 09:46:26 +00:00
msgid "The canonical name of this HMAC, always lowercase, e.g. ``hmac-md5``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:115
2016-10-30 09:46:26 +00:00
msgid "This module also provides the following helper function:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:119
2016-10-30 09:46:26 +00:00
msgid ""
"Return ``a == b``. This function uses an approach designed to prevent "
"timing analysis by avoiding content-based short circuiting behaviour, making "
"it appropriate for cryptography. *a* and *b* must both be of the same type: "
"either :class:`str` (ASCII only, as e.g. returned by :meth:`HMAC."
"hexdigest`), or a :term:`bytes-like object`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:127
2016-10-30 09:46:26 +00:00
msgid ""
"If *a* and *b* are of different lengths, or if an error occurs, a timing "
"attack could theoretically reveal information about the types and lengths of "
2017-04-02 20:14:06 +00:00
"*a* and *b*—but not their values."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:137
2016-10-30 09:46:26 +00:00
msgid "Module :mod:`hashlib`"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/hmac.rst:138
2016-10-30 09:46:26 +00:00
msgid "The Python module providing secure hash functions."
msgstr ""