hillcipher


Namehillcipher JSON
Version 0.0.4 PyPI version JSON
download
home_page
SummaryHill Cipher (Encryption and Decryption)
upload_time2023-11-19 03:15:04
maintainer
docs_urlNone
authorNooB c0deR (Kiran Deep)
requires_python
license
keywords python cryptography hill hillcipher encryption decryption symmetric encryption
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hill Cipher

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.

```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 @ www.github.com/Kirandeep2806/Hill-Cipher

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "hillcipher",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,cryptography,hill,hillcipher,encryption,decryption,symmetric encryption",
    "author": "NooB c0deR (Kiran Deep)",
    "author_email": "kirandeep102030@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ab/35/4dbe798ef0f97769be4ceb52ac9c7fb30635db6234d33c206d34de60c941/hillcipher-0.0.4.tar.gz",
    "platform": null,
    "description": "# Hill Cipher\r\n\r\nThe project is about **Hill Cipher Encryption and Decryption**\r\n\r\nIt allows to encrypt the text using the Hill Cipher technique, and decryption can be done as well. Checkout the snippets below.\r\n\r\n**Note** : Provide the input in the capital letters.\r\n\r\n```python\r\nimport hillcipher as hc\r\n\r\nkey = [[17,17,5],[21,18,21],[2,2,19]]\r\ntext = \"PAY MORE MONEY\"\r\n\r\nenc = hc.encrypt(text, key)\r\ndec = hc.decrypt(enc, key)\r\n\r\nprint(enc, dec)\r\n```\r\n\r\nThe $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.\r\n\r\n```python\r\nimport hillcipher as hc\r\n\r\ntext = \"PAY MORE MONEY\"\r\n\r\nenc = hc.encrypt(text)\r\ndec = hc.decrypt(enc)\r\n\r\nprint(enc, dec)\r\n```\r\n\r\nThe complete code can be found @ www.github.com/Kirandeep2806/Hill-Cipher\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Hill Cipher (Encryption and Decryption)",
    "version": "0.0.4",
    "project_urls": null,
    "split_keywords": [
        "python",
        "cryptography",
        "hill",
        "hillcipher",
        "encryption",
        "decryption",
        "symmetric encryption"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "555d65ecc5057b81d567a71c82cbc82254485d78442a7a4d0d25ee5531a14891",
                "md5": "79fb6e3f41b5663a8c0a53cdc5cde1a4",
                "sha256": "2700b02f67b139b115b0c6e841f0af27c154b6281747dd8413cc23bc4082d513"
            },
            "downloads": -1,
            "filename": "hillcipher-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "79fb6e3f41b5663a8c0a53cdc5cde1a4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2782,
            "upload_time": "2023-11-19T03:15:02",
            "upload_time_iso_8601": "2023-11-19T03:15:02.907755Z",
            "url": "https://files.pythonhosted.org/packages/55/5d/65ecc5057b81d567a71c82cbc82254485d78442a7a4d0d25ee5531a14891/hillcipher-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab354dbe798ef0f97769be4ceb52ac9c7fb30635db6234d33c206d34de60c941",
                "md5": "6bfb91cfbcc85d5d0c23241745dc6ba3",
                "sha256": "afd030bd5e7c3da98c9ff4b79662194e1e3426c40cf505f0503699a061df102e"
            },
            "downloads": -1,
            "filename": "hillcipher-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "6bfb91cfbcc85d5d0c23241745dc6ba3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2551,
            "upload_time": "2023-11-19T03:15:04",
            "upload_time_iso_8601": "2023-11-19T03:15:04.604075Z",
            "url": "https://files.pythonhosted.org/packages/ab/35/4dbe798ef0f97769be4ceb52ac9c7fb30635db6234d33c206d34de60c941/hillcipher-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-19 03:15:04",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "hillcipher"
}
        
Elapsed time: 0.14283s