def main(): binary = fixed_xor(challenge1.hex_to_binary(str1), challenge1.hex_to_binary(str2)) print "Binary: " + binary print "Hex: " + challenge1.binary_to_hex(binary)
def main(): print "Run the program" print challenge1.binary_to_hex(repeating_key(text,key)) print "Expected" print """0b3637272a2b2e63622c2e69692a23693a2a3c6324202d623d63343c2a26226324272765272