Module ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Num Assign NameStore BinOpMod Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpMod Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assert CompareEq NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad Call NameLoad NameLoad Slice Num If BinOpMod Call NameLoad NameLoad Num body Assign NameStore BinOpAdd Str NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num Num Assign NameStore SubscriptLoad NameLoad Slice Num Num Return TupleLoad NameLoad NameLoad decorator_list Assign NameStore Num Assign NameStore Num Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq NameLoad Num body Return Num If CompareEq NameLoad Num body Return BinOpMod NameLoad NameLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad Slice Num Assign NameStore NameLoad For NameStore Call NameLoad Num Call NameLoad NameLoad body Assign NameStore BinOpMult NameLoad NameLoad If CompareEq SubscriptLoad NameLoad Index NameLoad Str body Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpMod NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore ListLoad Num Num Num Num BinOpSub Call NameLoad Num Num Num BinOpAdd Call NameLoad Num Num Num BinOpAdd BinOpAdd BinOpAdd Call NameLoad Num Num Call NameLoad Num Num Call NameLoad Num Num Num For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assert CompareEq NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Expr Call NameLoad Expr Call NameLoad Print Str
N/A prob11 getOneRandomByte hashlib sha256 symbol assert_stmt smallDHDemo N/A N/A N/A N/A N/A p 37 N/A g 5 N/A a N/A N/A getOneRandomByte p N/A A N/A pow g a p N/A b N/A N/A getOneRandomByte p N/A B N/A pow g b p N/A s_b N/A pow B a p N/A s_a N/A pow A b p N/A N/A s_a s_b N/A N/A encKey macKey N/A secretToKeys N/A intToBytes s_a N/A intToBytes N/A N/A integer N/A N/A N/A hex_form N/A N/A hex integer N/A 2 N/A N/A N/A len hex_form 2 N/A N/A hex_form N/A 0 hex_form N/A N/A N/A bytearray fromhex hex_form N/A secretToKeys N/A N/A secret N/A N/A N/A hashoutput N/A N/A N/A sha256 secret digest N/A encKey N/A hashoutput N/A 0 16 N/A macKey N/A hashoutput N/A 16 32 N/A N/A encKey macKey N/A N/A group5_p 2410312426921032588552076022197566074856950548502459942654116941958108831682612228890093858261341614673227141477904012196503648957050582631942730706805009223062734745341073406696246014589361659774041027169249453200378729434170325843778659198143763193776859869524088940195577346119843545301547043747207749969763750084308926339295559968882457872412993810129130294592999947926365264059284647209730384947211681434464714438488520940127459844288859336526896320919633919 N/A group5_g 2 N/A  So I should stop using the builtin pow, I take it? mypow N/A N/A a b c N/A N/A N/A N/A b 0 N/A N/A 1 N/A N/A b 1 N/A N/A N/A a c N/A b_bits N/A N/A bin b N/A 2 N/A res a N/A i N/A range 1 N/A len b_bits N/A N/A res N/A res res N/A N/A N/A b_bits N/A i 1 N/A N/A res N/A res a N/A res N/A res c N/A res N/A testMyPow N/A N/A N/A N/A N/A test_b N/A 0 1 5 65537 N/A N/A pow 2 32 1 N/A N/A pow 2 32 1 N/A N/A N/A N/A pow 2 256 N/A pow 2 64 N/A pow 2 16 1 N/A b test_b N/A N/A theirs N/A pow group5_g b group5_p N/A mine N/A mypow group5_g b group5_p N/A N/A mine theirs N/A N/A N/A __name__ __main__ N/A N/A N/A smallDHDemo N/A N/A testMyPow N/A problem 33 success