# SOME DESCRIPTIVE TITLE. # Copyright (C) 1990-2016, Python Software Foundation # This file is distributed under the same license as the Python package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 2.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2016-10-30 10:44+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../Doc/library/sha.rst:3 msgid ":mod:`sha` --- SHA-1 message digest algorithm" msgstr "" #: ../Doc/library/sha.rst:11 msgid "Use the :mod:`hashlib` module instead." msgstr "" #: ../Doc/library/sha.rst:19 msgid "" "This module implements the interface to NIST's secure hash algorithm, known " "as SHA-1. SHA-1 is an improved version of the original SHA hash algorithm. " "It is used in the same way as the :mod:`md5` module: use :func:`new` to " "create an sha object, then feed this object with arbitrary strings using " "the :meth:`update` method, and at any point you can ask it for the :dfn:" "`digest` of the concatenation of the strings fed to it so far. SHA-1 " "digests are 160 bits instead of MD5's 128 bits." msgstr "" #: ../Doc/library/sha.rst:30 msgid "" "Return a new sha object. If *string* is present, the method call " "``update(string)`` is made." msgstr "" #: ../Doc/library/sha.rst:33 msgid "" "The following values are provided as constants in the module and as " "attributes of the sha objects returned by :func:`new`:" msgstr "" #: ../Doc/library/sha.rst:39 msgid "" "Size of the blocks fed into the hash function; this is always ``1``. This " "size is used to allow an arbitrary string to be hashed." msgstr "" #: ../Doc/library/sha.rst:45 msgid "The size of the resulting digest in bytes. This is always ``20``." msgstr "" #: ../Doc/library/sha.rst:47 msgid "An sha object has the same methods as md5 objects:" msgstr "" #: ../Doc/library/sha.rst:52 msgid "" "Update the sha object with the string *arg*. 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 "" #: ../Doc/library/sha.rst:59 msgid "" "Return the digest of the strings passed to the :meth:`update` method so far. " "This is a 20-byte string which may contain non-ASCII characters, including " "null bytes." msgstr "" #: ../Doc/library/sha.rst:66 msgid "" "Like :meth:`digest` except the digest is returned as a string of length 40, " "containing only hexadecimal digits. This may be used to exchange the value " "safely in email or other non-binary environments." msgstr "" #: ../Doc/library/sha.rst:73 msgid "" "Return a copy (\"clone\") of the sha object. This can be used to " "efficiently compute the digests of strings that share a common initial " "substring." msgstr "" #: ../Doc/library/sha.rst:83 msgid "" "`Secure Hash Standard `_" msgstr "" #: ../Doc/library/sha.rst:80 msgid "" "The Secure Hash Algorithm is defined by NIST document FIPS PUB 180-2: " "`Secure Hash Standard `_, published in August 2002." msgstr "" #: ../Doc/library/sha.rst:85 msgid "" "`Cryptographic Toolkit (Secure Hashing) `_" msgstr "" #: ../Doc/library/sha.rst:86 msgid "Links from NIST to various information on secure hashing." msgstr ""