2025-04-26 00:00:45 -04:00
|
|
|
import helper, cryptlib
|
|
|
|
|
|
|
|
def main():
|
2025-04-26 08:47:35 -04:00
|
|
|
content = helper.read_file("data/02.txt")
|
2025-04-26 00:00:45 -04:00
|
|
|
hexstring_list = content.splitlines()
|
|
|
|
solution = cryptlib.byte_xor(hexstring_list[0], hexstring_list[1])
|
|
|
|
print(hex(solution)[2:])
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
main()
|