E5C7 ScriptKiddy/python/hill_cipher at main · ohidurbappy/ScriptKiddy · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

To run the script: python hillCipher.py

The script can encrypt or decrypt given a text and key. For encryption, give the option as 'e' and for decryption give the option as 'd'. The key provided will be mapped into the 2x2 keyMatrix which is used for encryption/decryption. If the length of key is not 4, the default key "hill" is used. The cipher is based on the 26 letter English alphabet set.

0