streamlined the layout, don't need a package
This commit is contained in:
parent
037472fc07
commit
5f28587c15
9 changed files with 11 additions and 73 deletions
10
02.py
Normal file
10
02.py
Normal file
|
@ -0,0 +1,10 @@
|
|||
import helper, cryptlib
|
||||
|
||||
def main():
|
||||
content = helper.read_file("data/02.txt")
|
||||
hexstring_list = content.splitlines()
|
||||
solution = cryptlib.byte_xor(hexstring_list[0], hexstring_list[1])
|
||||
print(hex(solution)[2:])
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
Loading…
Add table
Add a link
Reference in a new issue