first two challenges solved

This commit is contained in:
Joshua Flores 2025-04-26 00:00:45 -04:00
parent 988d229bce
commit 037472fc07
No known key found for this signature in database
GPG key ID: CE41E342DBBBB9B7
8 changed files with 77 additions and 12 deletions

View file

@ -1,10 +1,16 @@
#!/usr/bin/env python
from cryptopals import helper
from cryptopals import cryptopals
import os, sys
module_dir = os.path.relpath('../src/cryptopals')
sys.path.insert(0, module_dir)
import helper, cryptlib
def main():
pass
hex_string = helper.read_file("../data/01.txt")
solution = cryptlib.hex_to_base64(hex_string)
print(solution.decode())
if __name__ == '__main__':