Metadata-Version: 2.1
Name: hillcipher
Version: 0.0.2
Summary: Hill Cipher (Encryption and Decryption)
Author: NooB c0deR (Kiran Deep)
Author-email: kirandeep102030@gmail.com
Keywords: python,cryptography,hill,hillcipher,encryption,decryption,symmetric encryption
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Security :: Cryptography
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
Requires-Dist: numpy
Requires-Dist: mathmatrix

# Hill Cipher

The repo contains **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.

```python
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 $2^{nd}$ parameter (i.e., **key**) is optional and can be excluded, but ensure that the count of alphabets in the input string are the multiples of 3.


```python
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 [here](https://github.com/Kirandeep2806/Hill-Cipher/blob/main/hillcipher/hillcipher.py "Source Code")
