tvl-depot/users/wpcarro/scratch/cryptopals/set1/c4.py
William Carroll 4cf86f2e53 feat(wpcarro/scratch): Upload my solutions to cryptopals
More beginner problems/solutions for CTF-style challenges.

Change-Id: Ide229e99e3ccc1ede5a5ca1c2ad039498e49ea4c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4740
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Tested-by: BuildkiteCI
2021-12-29 19:34:02 +00:00

12 lines
211 B
Python

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