Skip to content

Instantly share code, notes, and snippets.

View NargiT's full-sized avatar

NargiT

View GitHub Profile
@NargiT
NargiT / vigenere.py
Created September 1, 2016 15:47 — forked from terrettaz/vigenere.py
Vigenere Cipher tool
#!/usr/bin/env python
import sys, argparse, random
start = ord('.')
end = ord('Z')
modulo = (end - start) + 1
def alphabet():
return reduce(lambda a, b: '%s%s' % (a,b), map(lambda x: chr(x), range(start, end+1)))