Module Assign NameStore Str FunctionDef arguments args NameParam defaults body If CompareIn NameLoad TupleLoad Str Str body Import alias Return AttributeLoad NameLoad attr orelse If CompareIn NameLoad TupleLoad Str Str body Import alias Return AttributeLoad NameLoad attr orelse If CompareIn NameLoad TupleLoad Str Str Str Str body Import alias Assign NameStore SubscriptLoad NameLoad Slice Num If CompareEq NameLoad Str body Return AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Return AttributeLoad NameLoad attr orelse If CompareIn NameLoad TupleLoad Str Str Str Str body Import alias Assign NameStore SubscriptLoad NameLoad Slice Num If CompareEq NameLoad Str body Return AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Return AttributeLoad NameLoad attr Raise NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Return Call Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str TryExcept body Return Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Call Call NameLoad NameLoad NameLoad decorator_list TryExcept body Import alias Assign NameStore NameLoad For NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Call NameLoad Str TryExcept body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad Exec BinOpAdd NameLoad Str handlers ExceptHandler type NameLoad body TryExcept body Exec BinOpAdd NameLoad Str handlers ExceptHandler type NameLoad body Pass Delete NameDel Delete NameDel Delete NameDel handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str
N/A N/A __doc__ hashlib module - A common interface to many hash functions.

new(name, string='') - returns a new hash object implementing the
                       given hash function; initializing the hash
                       using the given string data.

Named constructor functions are also available, these are much faster
than using new():

md5(), sha1(), sha224(), sha256(), sha384(), and sha512()

More algorithms may be available on your platform but the above are
guaranteed to exist.

Choose your hash function wisely.  Some have known collision weaknesses.
sha384 and sha512 will be slow on 32 bit platforms.

Hash objects have these methods:
 - update(arg): Update the hash object with the string arg. Repeated calls
                are equivalent to a single call with the concatenation of all
                the arguments.
 - digest():    Return the digest of the strings passed to the update() method
                so far. This may contain non-ASCII characters, including
                NUL bytes.
 - hexdigest(): Like digest() except the digest is returned as a string of
                double length, containing only hexadecimal digits.
 - copy():      Return a copy (clone) of the hash object. This can be used to
                efficiently compute the digests of strings that share a common
                initial substring.

For example, to obtain the digest of the string 'Nobody inspects the
spammish repetition':

    >>> import hashlib
    >>> m = hashlib.md5()
    >>> m.update("Nobody inspects")
    >>> m.update(" the spammish repetition")
    >>> m.digest()
    '\xbbd\x9c\x83\xdd\x1e\xa5\xc9\xd9\xde\xc9\xa1\x8d\xf0\xff\xe9'

More condensed:

    >>> hashlib.sha224("Nobody inspects the spammish repetition").hexdigest()
    'a4337bc45a8fc544c03f52dc550cd6e1e87021bc896588bd79e901e2'

 __get_builtin_constructor N/A N/A name N/A N/A N/A N/A name N/A SHA1 sha1 N/A N/A _sha N/A N/A _sha new N/A N/A N/A name N/A MD5 md5 N/A N/A _md5 N/A N/A _md5 new N/A N/A N/A name N/A SHA256 sha256 SHA224 sha224 N/A N/A _sha256 N/A bs N/A name N/A 3 N/A N/A bs 256 N/A N/A N/A _sha256 sha256 N/A N/A N/A bs 224 N/A N/A N/A _sha256 sha224 N/A N/A N/A name N/A SHA512 sha512 SHA384 sha384 N/A N/A _sha512 N/A bs N/A name N/A 3 N/A N/A bs 512 N/A N/A N/A _sha512 sha512 N/A N/A N/A bs 384 N/A N/A N/A _sha512 sha384 N/A ValueError unsupported hash type N/A __py_new N/A N/A name string N/A N/A N/A new(name, string='') - Return a new hashing object using the named algorithm;
    optionally initialized with a string.
     N/A N/A N/A __get_builtin_constructor name string N/A __hash_new N/A N/A name string N/A N/A N/A new(name, string='') - Return a new hashing object using the named algorithm;
    optionally initialized with a string.
     N/A N/A N/A N/A N/A _hashlib new name string N/A N/A N/A ValueError N/A N/A N/A N/A __get_builtin_constructor name string N/A N/A N/A N/A _hashlib N/A new __hash_new N/A opensslFuncName N/A filter N/A N/A N/A n N/A N/A N/A n startswith openssl_ N/A dir _hashlib N/A N/A funcName N/A opensslFuncName N/A N/A len openssl_ N/A N/A N/A f N/A getattr _hashlib opensslFuncName N/A N/A f N/A N/A funcName  = f N/A N/A N/A ValueError N/A N/A N/A N/A N/A funcName  = __get_builtin_constructor(funcName) N/A N/A N/A ValueError N/A N/A N/A f N/A opensslFuncName N/A funcName N/A N/A N/A ImportError N/A N/A new __py_new N/A md5 N/A __get_builtin_constructor md5 N/A sha1 N/A __get_builtin_constructor sha1 N/A sha224 N/A __get_builtin_constructor sha224 N/A sha256 N/A __get_builtin_constructor sha256 N/A sha384 N/A __get_builtin_constructor sha384 N/A sha512 N/A __get_builtin_constructor sha512