Module Import alias Import alias Import alias Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Import alias Import alias ImportFrom alias ImportFrom alias alias Assign NameStore Call NameLoad NameLoad Str FunctionDef arguments args NameParam defaults body Import alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd NameLoad SubscriptLoad NameLoad Index BinOpBitAnd BinOpRShift NameLoad Num Num SubscriptLoad NameLoad Index BinOpBitAnd NameLoad Num Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str TryExcept body Exec BinOpAdd Str NameLoad handlers ExceptHandler type NameLoad name NameStore body If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Return Call AttributeLoad Call NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Assign NameStore Call NameLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict For NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Assert Call NameLoad NameLoad Str Assert Call NameLoad NameLoad Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad NameLoad BinOpAdd Str NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str If NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Pass orelse Expr Call AttributeLoad NameLoad attr CompareEq Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str TryExcept body Import alias handlers ExceptHandler type NameLoad body Pass Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad TryFinally body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str finalbody If CompareIn Str Call NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad orelse Delete SubscriptDel AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr CompareEq Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMult Str Num Assign NameStore BinOpMult Str Num Assign NameStore BinOpMult Str Num Assign NameStore BinOpAdd BinOpAdd NameLoad NameLoad NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num For NameStore NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str attr Expr Call AttributeLoad NameLoad attr NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad BinOpAdd NameLoad Num body TryExcept body Expr Call AttributeLoad NameLoad attr Str BinOpMult Str NameLoad Str handlers ExceptHandler type NameLoad body Pass decorator_list Call NameLoad keyword BinOpAdd NameLoad Num keyword Num FunctionDef arguments args NameParam NameParam defaults body If CompareEq NameLoad BinOpSub NameLoad Num body TryExcept body Expr Call AttributeLoad NameLoad attr Str BinOpMult Str NameLoad Str handlers ExceptHandler type NameLoad body Pass decorator_list Call NameLoad keyword BinOpSub NameLoad Num keyword Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str BinOpMult Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str BinOpMult Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str BinOpMult Str Num Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str BinOpAdd Str Str BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str BinOpMult Str Num BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str BinOpAdd Str Str BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str BinOpMult Str Num BinOpAdd Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Str Assign NameStore BinOpMult NameLoad Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num While CompareLt NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice NameLoad BinOpAdd NameLoad NameLoad AugAssignAdd NameStore NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body Assign NameStore BinOpFloorDiv Call NameLoad NameLoad BinOpPow Num NameLoad Assert CompareGt NameLoad Num Assert CompareEq BinOpMod NameLoad Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword TupleLoad NameLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A array N/A hashlib N/A itertools N/A sys N/A N/A N/A threading N/A N/A N/A ImportError N/A N/A threading None N/A unittest N/A warnings test test_support test.test_support _4G precisionbigmemtest N/A COMPILED_WITH_PYDEBUG N/A hasattr sys gettotalrefcount hexstr N/A N/A s N/A N/A N/A string N/A h N/A string hexdigits N/A r N/A c s N/A N/A i N/A ord c N/A r N/A N/A r N/A h N/A N/A N/A i 4 15 N/A h N/A N/A i 15 N/A r N/A HashLibTestCase N/A N/A unittest TestCase N/A N/A supported_hash_names N/A md5 MD5 sha1 SHA1 sha224 SHA224 sha256 SHA256 sha384 SHA384 sha512 SHA512 N/A _warn_on_extension_import COMPILED_WITH_PYDEBUG _conditional_import_module N/A N/A self module_name N/A N/A N/A Import a module and return a reference to it or None on failure. N/A N/A N/A N/A import  module_name N/A N/A N/A ImportError N/A error N/A N/A N/A self _warn_on_extension_import N/A N/A N/A N/A warnings warn N/A Did a C extension fail to compile? %s error N/A N/A N/A N/A locals get module_name N/A __init__ N/A N/A self N/A args kwargs N/A N/A algorithms N/A set N/A algorithm N/A self supported_hash_names N/A N/A N/A N/A algorithms add N/A N/A algorithm lower N/A N/A self constructors_to_test N/A N/A algorithm algorithms N/A N/A N/A N/A self constructors_to_test N/A algorithm N/A set N/A N/A algorithm constructors N/A N/A N/A self constructors_to_test items N/A N/A N/A N/A constructors add N/A getattr hashlib algorithm _test_algorithm_via_hashlib_new N/A N/A data _alg N/A None algorithm N/A N/A N/A data None N/A N/A N/A N/A hashlib new _alg N/A N/A N/A hashlib new _alg data N/A N/A N/A N/A constructors add _test_algorithm_via_hashlib_new N/A _hashlib N/A N/A self _conditional_import_module _hashlib N/A _hashlib N/A N/A N/A hasattr _hashlib openssl_md5 N/A N/A hasattr _hashlib openssl_sha1 N/A N/A algorithm constructors N/A N/A N/A self constructors_to_test items N/A N/A constructor N/A getattr _hashlib N/A openssl_ algorithm None N/A constructor N/A N/A N/A N/A constructors add constructor N/A _md5 N/A N/A self _conditional_import_module _md5 N/A _md5 N/A N/A N/A N/A N/A N/A self constructors_to_test N/A md5 add N/A _md5 new N/A _sha N/A N/A self _conditional_import_module _sha N/A _sha N/A N/A N/A N/A N/A N/A self constructors_to_test N/A sha1 add N/A _sha new N/A _sha256 N/A N/A self _conditional_import_module _sha256 N/A _sha256 N/A N/A N/A N/A N/A N/A self constructors_to_test N/A sha224 add N/A _sha256 sha224 N/A N/A N/A N/A N/A self constructors_to_test N/A sha256 add N/A _sha256 sha256 N/A _sha512 N/A N/A self _conditional_import_module _sha512 N/A _sha512 N/A N/A N/A N/A N/A N/A self constructors_to_test N/A sha384 add N/A _sha512 sha384 N/A N/A N/A N/A N/A self constructors_to_test N/A sha512 add N/A _sha512 sha512 N/A N/A N/A N/A super HashLibTestCase self __init__ args kwargs N/A test_hash_array N/A N/A self N/A N/A N/A a N/A N/A array array b N/A range 10 N/A constructors N/A N/A N/A self constructors_to_test itervalues N/A cons N/A N/A N/A itertools chain from_iterable constructors N/A N/A c N/A cons a N/A N/A N/A c hexdigest N/A test_algorithms_attribute N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A hashlib algorithms N/A tuple N/A _algo N/A _algo N/A self supported_hash_names N/A N/A _algo islower N/A test_unknown_hash N/A N/A self N/A N/A N/A N/A N/A N/A N/A hashlib new spam spam spam spam spam N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A self assertTrue N/A 0 hashlib didn't reject bogus hash name N/A test_get_builtin_constructor N/A N/A self N/A N/A N/A get_builtin_constructor N/A N/A hashlib __dict__ N/A __get_builtin_constructor N/A N/A N/A self assertRaises ValueError get_builtin_constructor test N/A N/A N/A _md5 N/A N/A N/A ImportError N/A N/A N/A N/A N/A sys modules N/A _md5 None N/A N/A N/A N/A N/A self assertRaises ValueError get_builtin_constructor md5 N/A N/A N/A _md5 N/A locals N/A N/A N/A N/A sys modules N/A _md5 _md5 N/A N/A N/A N/A sys modules N/A _md5 N/A test_hexdigest N/A N/A self N/A N/A N/A name N/A self supported_hash_names N/A N/A h N/A N/A hashlib new name N/A N/A N/A self assertTrue N/A N/A hexstr N/A N/A h digest N/A N/A h hexdigest N/A test_large_update N/A N/A self N/A N/A N/A aas N/A a 128 N/A bees N/A b 127 N/A cees N/A c 126 N/A abcs N/A N/A aas bees cees N/A name N/A self supported_hash_names N/A N/A m1 N/A N/A hashlib new name N/A N/A N/A m1 update aas N/A N/A N/A m1 update bees N/A N/A N/A m1 update cees N/A m2 N/A N/A hashlib new name N/A N/A N/A m2 update abcs N/A N/A N/A self assertEqual N/A N/A m1 digest N/A N/A m2 digest N/A name  update problem. N/A m3 N/A N/A hashlib new name abcs N/A N/A N/A self assertEqual N/A N/A m1 digest N/A N/A m3 digest N/A name  new problem. N/A check N/A N/A self name data digest N/A N/A N/A constructors N/A N/A self constructors_to_test N/A name N/A N/A N/A self assertGreaterEqual N/A len constructors 2 N/A hash_object_constructor constructors N/A N/A computed N/A N/A N/A hash_object_constructor data hexdigest N/A N/A N/A self assertEqual computed digest N/A Hash algorithm %s constructed using %s returned hexdigest %r for %d byte input data that should have hashed to %r. N/A name hash_object_constructor computed N/A len data digest N/A check_unicode N/A N/A self algorithm_name N/A N/A N/A expected N/A N/A N/A N/A hashlib new algorithm_name N/A str spam hexdigest N/A N/A N/A self check algorithm_name spam expected N/A test_unicode N/A N/A self N/A N/A N/A N/A N/A self check_unicode md5 N/A N/A N/A self check_unicode sha1 N/A N/A N/A self check_unicode sha224 N/A N/A N/A self check_unicode sha256 N/A N/A N/A self check_unicode sha384 N/A N/A N/A self check_unicode sha512 N/A test_case_md5_0 N/A N/A self N/A N/A N/A N/A N/A self check md5 d41d8cd98f00b204e9800998ecf8427e N/A test_case_md5_1 N/A N/A self N/A N/A N/A N/A N/A self check md5 abc 900150983cd24fb0d6963f7d28e17f72 N/A test_case_md5_2 N/A N/A self N/A N/A N/A N/A N/A self check md5 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 d174ab98d277d9f5a5611c2c9f419d9f N/A test_case_md5_huge N/A N/A self size N/A N/A N/A N/A size N/A _4G 5 N/A N/A N/A N/A N/A N/A self check md5 N/A A size c9af2dff37468ce5dfee8f2cfc0a9c6d N/A N/A N/A OverflowError N/A N/A N/A N/A precisionbigmemtest size N/A _4G 5 memuse 1 test_case_md5_uintmax N/A N/A self size N/A N/A N/A N/A size N/A _4G 1 N/A N/A N/A N/A N/A N/A self check md5 N/A A size 28138d306ff1b8281f1a9067e1a1a2b3 N/A N/A N/A OverflowError N/A N/A N/A N/A precisionbigmemtest size N/A _4G 1 memuse 1 test_case_sha1_0 N/A N/A self N/A N/A N/A N/A N/A self check sha1 da39a3ee5e6b4b0d3255bfef95601890afd80709 N/A test_case_sha1_1 N/A N/A self N/A N/A N/A N/A N/A self check sha1 abc a9993e364706816aba3e25717850c26c9cd0d89d N/A test_case_sha1_2 N/A N/A self N/A N/A N/A N/A N/A self check sha1 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 84983e441c3bd26ebaae4aa1f95129e5e54670f1 N/A test_case_sha1_3 N/A N/A self N/A N/A N/A N/A N/A self check sha1 N/A a 1000000 34aa973cd4c4daa4f61eeb2bdbad27316534016f N/A test_case_sha224_0 N/A N/A self N/A N/A N/A N/A N/A self check sha224 d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f N/A test_case_sha224_1 N/A N/A self N/A N/A N/A N/A N/A self check sha224 abc 23097d223405d8228642a477bda255b32aadbce4bda0b3f7e36c9da7 N/A test_case_sha224_2 N/A N/A self N/A N/A N/A N/A N/A self check sha224 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 75388b16512776cc5dba5da1fd890150b0c6455cb4f58b1952522525 N/A test_case_sha224_3 N/A N/A self N/A N/A N/A N/A N/A self check sha224 N/A a 1000000 20794655980c91d8bbb4c1ea97618a4bf03f42581948b2ee4ee7ad67 N/A test_case_sha256_0 N/A N/A self N/A N/A N/A N/A N/A self check sha256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 N/A test_case_sha256_1 N/A N/A self N/A N/A N/A N/A N/A self check sha256 abc ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad N/A test_case_sha256_2 N/A N/A self N/A N/A N/A N/A N/A self check sha256 abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1 N/A test_case_sha256_3 N/A N/A self N/A N/A N/A N/A N/A self check sha256 N/A a 1000000 cdc76e5c9914fb9281a1c7e284d73e67f1809a48a497200e046d39ccc7112cd0 N/A test_case_sha384_0 N/A N/A self N/A N/A N/A N/A N/A self check sha384 N/A 38b060a751ac96384cd9327eb1b1e36a21fdb71114be07434c0cc7bf63f6e1da 274edebfe76f65fbd51ad2f14898b95b N/A test_case_sha384_1 N/A N/A self N/A N/A N/A N/A N/A self check sha384 abc N/A cb00753f45a35e8bb5a03d699ac65007272c32ab0eded1631a8b605a43ff5bed 8086072ba1e7cc2358baeca134c825a7 N/A test_case_sha384_2 N/A N/A self N/A N/A N/A N/A N/A self check sha384 N/A abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu N/A 09330c33f71147e83d192fc782cd1b4753111b173b3b05d22fa08086e3b0f712 fcc7c71a557e2db966c3e9fa91746039 N/A test_case_sha384_3 N/A N/A self N/A N/A N/A N/A N/A self check sha384 N/A a 1000000 N/A 9d0e1809716474cb086e834e310a4a1ced149e9c00f248527972cec5704c2a5b 07b8b3dc38ecc4ebae97ddd87f3d8985 N/A test_case_sha512_0 N/A N/A self N/A N/A N/A N/A N/A self check sha512 N/A cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce 47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e N/A test_case_sha512_1 N/A N/A self N/A N/A N/A N/A N/A self check sha512 abc N/A ddaf35a193617abacc417349ae20413112e6fa4e89a97ea20a9eeee64b55d39a 2192992a274fc1a836ba3c23a3feebbd454d4423643ce80e2a9ac94fa54ca49f N/A test_case_sha512_2 N/A N/A self N/A N/A N/A N/A N/A self check sha512 N/A abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu N/A 8e959b75dae313da8cf4f72814fc143f8f7779c6eb9f7fa17299aeadb6889018 501d289e4900f7e4331b99dec4b5433ac7d329eeb6dd26545e96e55b874be909 N/A test_case_sha512_3 N/A N/A self N/A N/A N/A N/A N/A self check sha512 N/A a 1000000 N/A e718483d0ce769644e2e42c7bc15b4638e1f98b13b2044285632a803afa973eb de0ff244877ea60a4cb0432ce577c31beb009c5c2c49aa2e4eadb217ad8cc09b N/A test_threaded_hashing N/A N/A self N/A N/A N/A hasher N/A N/A hashlib sha1 N/A num_threads 5 N/A smallest_data swineflu N/A data N/A smallest_data 200000 N/A expected_hash N/A N/A N/A N/A hashlib sha1 N/A data num_threads hexdigest hash_in_chunks N/A N/A chunk_size event N/A N/A N/A index 0 N/A N/A index N/A len data N/A N/A N/A N/A hasher update N/A data N/A index N/A index chunk_size N/A index chunk_size N/A N/A N/A event set N/A N/A events N/A N/A threadnum N/A xrange num_threads N/A N/A chunk_size N/A N/A len data N/A 10 threadnum N/A N/A chunk_size 0 N/A N/A N/A chunk_size N/A len smallest_data 0 N/A event N/A N/A threading Event N/A N/A N/A events append event N/A N/A N/A N/A N/A threading Thread target hash_in_chunks args N/A chunk_size event start N/A event events N/A N/A N/A N/A event wait N/A N/A N/A self assertEqual expected_hash N/A N/A hasher hexdigest N/A N/A N/A unittest skipUnless threading Threading required for this test. N/A test_support reap_threads N/A test_main N/A N/A N/A N/A N/A N/A N/A test_support run_unittest HashLibTestCase N/A N/A N/A __name__ __main__ N/A N/A N/A test_main