diff options
Diffstat (limited to 'users/wpcarro/scratch/cryptopals/set1/c4.py')
-rw-r--r-- | users/wpcarro/scratch/cryptopals/set1/c4.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/users/wpcarro/scratch/cryptopals/set1/c4.py b/users/wpcarro/scratch/cryptopals/set1/c4.py new file mode 100644 index 000000000000..6775d73ec8cd --- /dev/null +++ b/users/wpcarro/scratch/cryptopals/set1/c4.py @@ -0,0 +1,12 @@ +import c3 + +content = None +with open('4.txt', 'r') as f: + c3.decode_cipher + content = f.read().splitlines() + +for line in content: + try: + print(c3.decode_cipher(line)) + except: + continue |