Module Expr Str ImportFrom alias Import alias ImportFrom alias identifier Import alias identifier Assign NameStore Str Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore TupleLoad Str Str Str Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore TupleLoad Str Str Str Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMult NameLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore TupleLoad Num Num Num Num Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore TupleLoad Num Num Num Num Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Num BinOpPow Num Num Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Str Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num keyword Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num keyword Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Unit test for ebq_crypto module. google.apputils app N/A logging google.apputils basetest googletest N/A ebq_crypto ecrypto N/A _KEY1 0123456789abcdef N/A _PLAINTEXT1 this is test string one ProbabilisticCiphertTest N/A N/A googletest TestCase N/A setUp N/A N/A self N/A N/A N/A Run once for each test in the class. N/A N/A self cipher N/A N/A ecrypto ProbabilisticCipher _KEY1 N/A testProbabilisticEncryptDecryptUnicodeString N/A N/A self N/A N/A N/A N/A N/A logging debug Running testProbabilisticEncryptDecryptUtf8String method. N/A plaintext N/A 22 this is test string one -1.3 5545 this is a longer test string that should go on for
                      more than two AES blocks or perhaps many more of them
                      also. N/A N/A ciphertext N/A N/A N/A self cipher Encrypt plaintext N/A N/A N/A self assertEqual plaintext N/A N/A N/A self cipher Decrypt ciphertext N/A N/A N/A N/A N/A N/A self cipher Encrypt 22 N/A N/A N/A self fail N/A N/A N/A ValueError N/A N/A N/A N/A PseudonymCiphertTest N/A N/A googletest TestCase N/A setUp N/A N/A self N/A N/A N/A Run once for each test in the class. N/A N/A self cipher N/A N/A ecrypto PseudonymCipher _KEY1 N/A testPseudonymEncryptDecryptUnicodeString N/A N/A self N/A N/A N/A N/A N/A logging debug Running testPseudonymEncryptDecryptUtf8String method. N/A plaintext N/A 22 this is test string one -1.3 5545 this is a longer test string that should go on for
                      more than two AES blocks or perhaps many more of them
                      also. N/A N/A ciphertext N/A N/A N/A self cipher Encrypt plaintext N/A N/A N/A self assertEqual plaintext N/A N/A N/A self cipher Decrypt ciphertext N/A N/A N/A N/A N/A N/A self cipher Encrypt 22 N/A N/A N/A self fail N/A N/A N/A ValueError N/A N/A N/A N/A _GetRandForTesting N/A N/A size N/A N/A N/A N/A size 1 N/A HomomorphicIntCiphertTest N/A N/A googletest TestCase N/A setUp N/A N/A self N/A N/A N/A Run once for each test in the class. N/A N/A self cipher N/A N/A ecrypto HomomorphicIntCipher _KEY1 N/A testHomomorphicEncryptIntDecryptInt N/A N/A self N/A N/A N/A N/A N/A logging debug Running testHomomorphicEncryptIntDecryptInt method. N/A plaintext N/A 2 5 55 333333333 44444444444 N/A N/A ciphertext N/A N/A N/A self cipher Encrypt plaintext N/A N/A N/A self assertEqual plaintext N/A N/A N/A self cipher Decrypt ciphertext N/A N/A N/A N/A N/A N/A self cipher Encrypt 22 N/A N/A N/A self fail N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A N/A N/A self cipher Encrypt 22222222222222222222222 N/A N/A N/A self fail N/A N/A N/A ValueError N/A N/A N/A N/A HomomorphicFloatCipherTest N/A N/A googletest TestCase N/A setUp N/A N/A self N/A N/A N/A Run once for each test in the class. N/A N/A self cipher N/A N/A ecrypto HomomorphicFloatCipher _KEY1 N/A testHomomorphicEncryptFloatDecryptFloat N/A N/A self N/A N/A N/A N/A N/A logging debug Running testHomomorphicEncryptFloatDecryptFloat method. N/A plaintext N/A 1.22 0.4565 55.45 33.3333333 444444444.44 N/A N/A ciphertext N/A N/A N/A self cipher Encrypt plaintext N/A N/A N/A self assertEqual plaintext N/A N/A N/A self cipher Decrypt ciphertext N/A N/A N/A N/A N/A N/A self cipher Encrypt N/A 1.0 N/A 2 400 N/A N/A N/A self fail N/A N/A N/A ValueError N/A N/A N/A N/A N/A N/A N/A N/A self cipher Encrypt 22 N/A N/A N/A self fail N/A N/A N/A ValueError N/A N/A N/A N/A StringHashTest N/A N/A googletest TestCase N/A setUp N/A N/A self N/A N/A N/A Run once for each test in the class. N/A N/A self hasher N/A N/A ecrypto StringHash _KEY1 8 sha1 N/A N/A self fieldname Description N/A testGetStringKeyHash N/A N/A self N/A N/A N/A N/A N/A logging debug Running testGetStringKeyHash method. N/A hash1 N/A N/A N/A self hasher GetStringKeyHash N/A self fieldname school N/A N/A N/A self assertEqual 12 N/A len hash1 N/A hash2 N/A N/A N/A self hasher GetStringKeyHash N/A self fieldname school N/A N/A N/A self assertEqual hash1 hash2 N/A hash3 N/A N/A N/A self hasher GetStringKeyHash N/A self fieldname not school N/A N/A N/A self assertNotEqual hash1 hash3 N/A hash4 N/A N/A N/A self hasher GetStringKeyHash N/A self fieldname school output_len 33 N/A N/A N/A self assertEqual 44 N/A len hash4 N/A hash5 N/A N/A N/A self hasher GetStringKeyHash N/A self fieldname school output_len 33 hashfunc sha256 N/A N/A N/A self assertNotEqual hash4 hash5 N/A hasher6 N/A N/A ecrypto StringHash _KEY1 33 sha256 N/A N/A N/A self assertEqual hash5 N/A N/A hasher6 GetStringKeyHash N/A self fieldname school N/A testGetHashessForWordSubsequencesWithIv N/A N/A self N/A N/A N/A N/A N/A logging debug Running testGetHashesForWordSubsequencesWithIv method. N/A text The quick brown fox jumps over the lazy dog N/A hashes1 N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname text random_permute False rand_gen _GetRandForTesting N/A N/A N/A self assertEqual 36 N/A len N/A N/A hashes1 split N/A N/A N/A self assertEqual MTExMTExMTExMTExMTExMQ== r+LnPgD7hZQ= xSqjeTLry4M= Nsx9q20oJFk= /xu7ZfpL2B0= +kzAzlhR4Q4= sOKsrKXhkCQ= 8qmxrO4cbSg= 0zvX/8lk2f4= htApcCWILMg= sKK2mV5HpXY= 7pCfT7322NU= j33+LJhZFug= IP1X3g/lPDU= UtP0wX/xX4E= 3a127xbQ5Hg= Kc5wG5S71ac= crqNunt/kdY= y2cx1LMP1Pk= GU4VGtrwcmI= QdgK8S91ZIw= wr8+BHzGCzc= KAez7MjDGVo= nzHEdXrWRPU= X/zhUoGgoss= 9vOSQpX3CZk= NpU2fSVRlKw= FCIrv3nzunI= jrCH4Takl+I= JSs5E/K2Wr8= r+LnPgD7hZQ= Xvb827F9rzw= htitZIrHc4w= e+6DbqjmqFU= c2xxyrQH3dU= GYmYmk5pI1g= hashes1 N/A hashes2 N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname text random_permute False rand_gen _GetRandForTesting N/A N/A N/A self assertEqual hashes1 hashes2 N/A hashes3 N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname N/A text N/A 3 random_permute False rand_gen _GetRandForTesting N/A N/A N/A self assertNotEqual hashes1 hashes3 N/A N/A N/A self assertEqual 31 N/A len N/A N/A hashes3 split N/A hashes4 N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname N/A text N/A 3 output_len 16 random_permute False rand_gen _GetRandForTesting N/A N/A N/A self assertEqual 24 N/A len N/A N/A N/A hashes4 split N/A 1 N/A hashes5 N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname N/A text N/A 3 hashfunc sha256 random_permute False rand_gen _GetRandForTesting N/A N/A N/A self assertNotEqual hashes1 hashes5 N/A hashes6 N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname text max_sequence_len 3 random_permute False N/A N/A N/A self assertEqual 25 N/A len N/A N/A hashes6 split N/A unclean_text N/A The; quick,,,, BROWN!"#%&'()*,/?@[]{}--___, fox  jUmps. over the lazy dog... N/A hashes_unclean N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname N/A unclean_text N/A 3 random_permute False rand_gen _GetRandForTesting N/A N/A N/A self assertEqual hashes3 hashes_unclean N/A text_slash http://www.google.com/johndoe-inbox N/A hashes_slash N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname text_slash random_permute False rand_gen _GetRandForTesting separator / N/A N/A N/A self assertEqual 7 N/A len N/A N/A hashes_slash split N/A N/A N/A self assertEqual MTExMTExMTExMTExMTExMQ== FvAl46zVC9s= tyI89/YsFnI= Xx51CZp6Nks= PkkH/6bqWnI= 32+DPg79MK8= 3lESAvKjz84= hashes_slash N/A empty_text  ;,. N/A hashes_empty N/A N/A N/A self hasher GetHashesForWordSubsequencesWithIv N/A self fieldname empty_text random_permute False rand_gen _GetRandForTesting N/A N/A N/A self assertEqual MTExMTExMTExMTExMTExMQ== hashes_empty N/A N/A main N/A N/A _ N/A N/A N/A N/A N/A googletest main N/A N/A N/A __name__ __main__ N/A N/A N/A N/A app run