Vigener Cipher Using Python
What is the Vigener Cipher?
It is one of the encryption techniques.
It is a type of polyalphabetic substitution cipher where each character in the plain text is replaced by another character based on the key entered.
Who it works?
For example, the key is alphabet( categorical not numeric), So if the entered key is “mo” and the plain text is “hussein” then we must repeate the key until it matches with the length of the plain text. In our example the key must be “momomom” and the message is “hussein”. We start to encrypt the message. first we get the ascii for every charchter on the plain text and the key as well then strat to add the to numbers then get The letter corresponding to this number :-
For More Information About Vigener Cipher Vigener Cipher
What do you find in this script?
in this script you can :-
1- Encrypt a message
3- Decrypt an encrypted message
Screenshots From Run
How to run this script?
Download the latest version of python python
pip install termcolor
Whole Code On GitHub