This Python Program aims at providing a tweaked version of Playfair Cipher in cryptography. This program was created as a part of the Cryptography and Security Services course in the Mumbai University. It takes the usual functioning algorithm of the Playfair Cipher and further enhances it by bringing in the concept of dynamic key generation. Further details about the algorithm are provided in the 'algorithm notes.pdf' file in the Algorithm directory.
-
I have included a Jupyter Notebook file (.ippynb) in the 'algorithm' directory, so, you will need to install Jupyter Notebook in order to run it. Follow the link below to get Jupyter Notebook.
The following output can be generated using the algorithm. The python code may be further enhanced by working on a structured output and input functionality.
Encryption
PT = "HEYO MAN"
encrypt(matrix,PT)
Encryption output
[['KC', 'DT', 'LB', 'SC']]
Decryption output
[['HE', 'YO', 'MA', 'NX']]
- Thanks to the Prof. Monali Shetty, Fr.CRCE, Bandra for mentoring me through this project.