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
This commit is contained in:
parent
5c0ec720af
commit
4cf86f2e53
6 changed files with 409 additions and 0 deletions
12
users/wpcarro/scratch/cryptopals/set1/c4.py
Normal file
12
users/wpcarro/scratch/cryptopals/set1/c4.py
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue