Skip to content

Instantly share code, notes, and snippets.

@davidjb
Created April 22, 2016 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davidjb/97f8f6f70271c63b43c43a0579132a34 to your computer and use it in GitHub Desktop.
Save davidjb/97f8f6f70271c63b43c43a0579132a34 to your computer and use it in GitHub Desktop.
Security Engineering Python Code (COMP3/9441)
# Warmup
ciphertext = "TGPRGWTADEKI HI3OYNODONAT ES4LOCIINTB} FC4LURSDTHO_ LO1IRYAEEIU_ AM{NOPBAVNT_"
letter_sets = [[l for l in w] for w in ciphertext.split()]
print(''.join(''.join(w) for w in zip(*x)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment