moth/puzzles/crypto/160xor.py

12 lines
310 B
Python

#!/usr/bin/python3
plaintext = [b'I wonderr if they'll try doing a frequency count again? '
b'It should work this time as well. Hopefully messing around '
b'with simple cyphers like
for p in plaintext:
c = sbox(text, key)
assert c == sbox(c, ikey), 'Failure'
print(c)