View vigenere.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode 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.' |
View gist:12cb40169ca5da1c1af439593fcc1ab6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x4A5f1fF9a4bc1f203e8006ce9A3F3E8E40cc3A09 |