Skip to content

Instantly share code, notes, and snippets.

0x4A5f1fF9a4bc1f203e8006ce9A3F3E8E40cc3A09
@flipperbw
flipperbw / vigenere.py
Created January 4, 2018 00:00
Vigenere Cipher in Python for all printable ASCII characters
universe = [c for c in (chr(i) for i in range(32,127))]
uni_len = len(universe)
def vign(txt='', key='', typ='d'):
if not txt:
print 'Needs text.'
return
if not key:
print 'Needs key.'