Skip to content

Python implementation of a simple Vigenère cipher

License

Notifications You must be signed in to change notification settings

bldavies/vigenere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vigenère

This repository provides a Python module that implements a simple Vigenère cipher based on this comment.

Usage

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.

License

All repository content is licensed under the MIT license.

About

Python implementation of a simple Vigenère cipher

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published