# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2016, Python Software Foundation
# 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"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../Doc/library/secrets.rst:2
msgid ":mod:`secrets` --- Generate secure random numbers for managing secrets"
msgstr ""

#: ../Doc/library/secrets.rst:16
msgid "**Source code:** :source:`Lib/secrets.py`"
msgstr ""

#: ../Doc/library/secrets.rst:20
msgid ""
"The :mod:`secrets` module is used for generating cryptographically strong "
"random numbers suitable for managing data such as passwords, account "
"authentication, security tokens, and related secrets."
msgstr ""

#: ../Doc/library/secrets.rst:24
msgid ""
"In particularly, :mod:`secrets` should be used in preference to the default "
"pseudo-random number generator in the :mod:`random` module, which is "
"designed for modelling and simulation, not security or cryptography."
msgstr ""

#: ../Doc/library/secrets.rst:30
msgid ":pep:`506`"
msgstr ""

#: ../Doc/library/secrets.rst:34
msgid "Random numbers"
msgstr "Nombres aléatoires"

#: ../Doc/library/secrets.rst:36
msgid ""
"The :mod:`secrets` module provides access to the most secure source of "
"randomness that your operating system provides."
msgstr ""

#: ../Doc/library/secrets.rst:41
msgid ""
"A class for generating random numbers using the highest-quality sources "
"provided by the operating system.  See :class:`random.SystemRandom` for "
"additional details."
msgstr ""

#: ../Doc/library/secrets.rst:47
msgid "Return a randomly-chosen element from a non-empty sequence."
msgstr ""

#: ../Doc/library/secrets.rst:51
msgid "Return a random int in the range [0, *n*)."
msgstr ""

#: ../Doc/library/secrets.rst:55
msgid "Return an int with *k* random bits."
msgstr ""

#: ../Doc/library/secrets.rst:59
msgid "Generating tokens"
msgstr ""

#: ../Doc/library/secrets.rst:61
msgid ""
"The :mod:`secrets` module provides functions for generating secure tokens, "
"suitable for applications such as password resets, hard-to-guess URLs, and "
"similar."
msgstr ""

#: ../Doc/library/secrets.rst:67
msgid ""
"Return a random byte string containing *nbytes* number of bytes. If *nbytes* "
"is ``None`` or not supplied, a reasonable default is used."
msgstr ""

#: ../Doc/library/secrets.rst:79
msgid ""
"Return a random text string, in hexadecimal.  The string has *nbytes* random "
"bytes, each byte converted to two hex digits.  If *nbytes* is ``None`` or "
"not supplied, a reasonable default is used."
msgstr ""

#: ../Doc/library/secrets.rst:90
msgid ""
"Return a random URL-safe text string, containing *nbytes* random bytes.  The "
"text is Base64 encoded, so on average each byte results in approximately 1.3 "
"characters.  If *nbytes* is ``None`` or not supplied, a reasonable default "
"is used."
msgstr ""

#: ../Doc/library/secrets.rst:102
msgid "How many bytes should tokens use?"
msgstr ""

#: ../Doc/library/secrets.rst:104
msgid ""
"To be secure against `brute-force attacks <https://en.wikipedia.org/wiki/"
"Brute-force_attack>`_, tokens need to have sufficient randomness.  "
"Unfortunately, what is considered sufficient will necessarily increase as "
"computers get more powerful and able to make more guesses in a shorter "
"period.  As of 2015, it is believed that 32 bytes (256 bits) of randomness "
"is sufficient for the typical use-case expected for the :mod:`secrets` "
"module."
msgstr ""

#: ../Doc/library/secrets.rst:112
msgid ""
"For those who want to manage their own token length, you can explicitly "
"specify how much randomness is used for tokens by giving an :class:`int` "
"argument to the various ``token_*`` functions.  That argument is taken as "
"the number of bytes of randomness to use."
msgstr ""

#: ../Doc/library/secrets.rst:117
msgid ""
"Otherwise, if no argument is provided, or if the argument is ``None``, the "
"``token_*`` functions will use a reasonable default instead."
msgstr ""

#: ../Doc/library/secrets.rst:122
msgid ""
"That default is subject to change at any time, including during maintenance "
"releases."
msgstr ""

#: ../Doc/library/secrets.rst:127
msgid "Other functions"
msgstr ""

#: ../Doc/library/secrets.rst:131
msgid ""
"Return ``True`` if strings *a* and *b* are equal, otherwise ``False``, in "
"such a way as to reduce the risk of `timing attacks <http://codahale.com/a-"
"lesson-in-timing-attacks/>`_. See :func:`hmac.compare_digest` for additional "
"details."
msgstr ""

#: ../Doc/library/secrets.rst:138
msgid "Recipes and best practices"
msgstr ""

#: ../Doc/library/secrets.rst:140
msgid ""
"This section shows recipes and best practices for using :mod:`secrets` to "
"manage a basic level of security."
msgstr ""

#: ../Doc/library/secrets.rst:143
msgid "Generate an eight-character alphanumeric password:"
msgstr ""

#: ../Doc/library/secrets.rst:154
msgid ""
"Applications should not `store passwords in a recoverable format <http://cwe."
"mitre.org/data/definitions/257.html>`_, whether plain text or encrypted.  "
"They should be salted and hashed using a cryptographically-strong one-way "
"(irreversible) hash function."
msgstr ""

#: ../Doc/library/secrets.rst:160
msgid ""
"Generate a ten-character alphanumeric password with at least one lowercase "
"character, at least one uppercase character, and at least three digits:"
msgstr ""

#: ../Doc/library/secrets.rst:176
msgid "Generate an `XKCD-style passphrase <http://xkcd.com/936/>`_:"
msgstr ""

#: ../Doc/library/secrets.rst:187
msgid ""
"Generate a hard-to-guess temporary URL containing a security token suitable "
"for password recovery applications:"
msgstr ""
