This repository provides a Python module that implements a simple Vigenère cipher based on this comment.
The encrypt
and decrypt
functions defined in vigenere.py
are wrappers for transform
.
For example, running
from vigenere import *
t = "Hello world!"
k = "Key"
e = encrypt(t, k)
d = decrypt(e, k)
print(e)
print(d)
prints
sKf8UyCUl8Jz
Hello world!
to the Python console.
Executing the bash script launcher
opens a Terminal window with Python and the vigenere
module preloaded.
All repository content is licensed under the MIT license.