The project is about Hill Cipher Encryption and Decryption
It allows to encrypt the text using the Hill Cipher technique, and decryption can be done as well. Checkout the snippets below.
Note : Provide the input in the capital letters.
import hillcipher as hc
key = [[17,17,5],[21,18,21],[2,2,19]]
text = "PAY MORE MONEY"
enc = hc.encrypt(text, key)
dec = hc.decrypt(enc, key)
print(enc, dec)
The
import hillcipher as hc
text = "PAY MORE MONEY"
enc = hc.encrypt(text)
dec = hc.decrypt(enc)
print(enc, dec)
The complete code can be found @ www.github.com/Kirandeep2806/Hill-Cipher