Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(40138)

Delta Between Two Patch Sets: Lib/hashlib.py

Issue 16113: Add SHA-3 (Keccak) support
Left Patch Set: Created 3 years, 3 months ago
Right Patch Set: Created 3 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Doc/library/hashlib.rst ('k') | Lib/test/test_hashlib.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 #. Copyright (C) 2005-2010 Gregory P. Smith (greg@krypto.org) 1 #. Copyright (C) 2005-2010 Gregory P. Smith (greg@krypto.org)
2 # Licensed to PSF under a Contributor Agreement. 2 # Licensed to PSF under a Contributor Agreement.
3 # 3 #
4 4
5 __doc__ = """hashlib module - A common interface to many hash functions. 5 __doc__ = """hashlib module - A common interface to many hash functions.
6 6
7 new(name, data=b'') - returns a new hash object implementing the 7 new(name, data=b'') - returns a new hash object implementing the
8 given hash function; initializing the hash 8 given hash function; initializing the hash
9 using the given binary data. 9 using the given binary data.
10 10
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 try: 221 try:
222 globals()[__func_name] = __get_hash(__func_name) 222 globals()[__func_name] = __get_hash(__func_name)
223 except ValueError: 223 except ValueError:
224 import logging 224 import logging
225 logging.exception('code for hash %s was not found.', __func_name) 225 logging.exception('code for hash %s was not found.', __func_name)
226 226
227 227
228 # Cleanup locals() 228 # Cleanup locals()
229 del __always_supported, __func_name, __get_hash 229 del __always_supported, __func_name, __get_hash
230 del __py_new, __hash_new, __get_openssl_constructor 230 del __py_new, __hash_new, __get_openssl_constructor
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+