# Cryptix Package Usage
## Overview
The Cryptix a powerful python library which provides decryption functions for various ciphers. Below are examples demonstrating how to use the decryption functions for different ciphers included in the package.
## Supported Ciphers
- **Vigenère Cipher**
- **Affine Cipher**
- **Hill Cipher**
- **Beaufort Cipher**
- **Rail Fence Cipher**
- **Playfair Cipher**
- **One-Time Pad Cipher**
- **XOR Cipher**
- **RSA Cipher**
- **Caeser Cipher**
- **Bacon Cipher**
- **AtBash Cipher**
- **RO13**
- **ROT5**
- **Columnar Transposition Cipher**
## Supported Encodings
- **Binary**
- **Hexadecimal**
- **Octal**
- **ASCII**
- **URL Encoding**
- **Unicode Point**
- **Base64**
- **Base32**
- **Base58**
- **Morse Code**
## Sample Usage
### Caesar Cipher
```python
from Cryptix import Cryptix
ciphertext = "Khoor Zruog" # Encrypted with a shift of 3
shift = 3
plaintext = Cryptix.decrypt_caesar(ciphertext, shift)
print("Caesar Cipher Decryption:", plaintext)
```
## Conclusion
Simply there is the logic to decrypt all these algorthims, like if you want any cipher to decrypt, follow the trick below:
```python
from Cryptix import Cryptix
ciphertext = "Xhpc yb fggw" # Example encrypted text
key_matrix = [[6, 24, 1], [13, 16, 10], [20, 17, 15]]
plaintext = Cryptix.decrypt_hill(ciphertext, key_matrix)
print("Hill Cipher Decryption:", plaintext)
```
Just you want to type `decrypt_name`, like `decrypt_hill_cipher`, then either you want to print it or use a variable to store it and then print it.
The above example showed us that if you want to print it, first by saving its returing value to variable and then printing it.
### Other way to do
```python
from Cryptix import Cryptix
print(decrypt_caeser_cipher("HERE CIPHER TEXT COMES", "HERE COMES THE SWIFT FOR IT"))
```
Similary you can do it for decoding the mentioned encodings you have to use.
```python
encoded_text = "+++++++......++++++,-------" # Example encoded text
plaintext = Cryptix.decode_morse_code(encoded_text)
print("Morse Code decoded text:", encoded_text)
```
### Other way to do it
```python
from Cryptix import Cryptix
print("Morse Code decoded text:", encoded_text)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/president-xd/Cryptix",
"name": "Cryptix",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Mohsin Mukhtiar Lashari Baloch",
"author_email": "lasharimohsin19@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/39/4f/ce1c498cc950c71f57e6cebcf529f6996679c411d6566d0fde4596551762/Cryptix-0.1.1.tar.gz",
"platform": null,
"description": "# Cryptix Package Usage\n\n## Overview\n\nThe Cryptix a powerful python library which provides decryption functions for various ciphers. Below are examples demonstrating how to use the decryption functions for different ciphers included in the package.\n\n## Supported Ciphers\n\n- **Vigen\u00e8re Cipher**\n- **Affine Cipher**\n- **Hill Cipher**\n- **Beaufort Cipher**\n- **Rail Fence Cipher**\n- **Playfair Cipher**\n- **One-Time Pad Cipher**\n- **XOR Cipher**\n- **RSA Cipher**\n- **Caeser Cipher**\n- **Bacon Cipher**\n- **AtBash Cipher**\n- **RO13**\n- **ROT5**\n- **Columnar Transposition Cipher**\n\n## Supported Encodings\n- **Binary**\n- **Hexadecimal**\n- **Octal**\n- **ASCII**\n- **URL Encoding**\n- **Unicode Point**\n- **Base64**\n- **Base32**\n- **Base58**\n- **Morse Code**\n\n## Sample Usage\n\n### Caesar Cipher\n\n```python\nfrom Cryptix import Cryptix\n\nciphertext = \"Khoor Zruog\" # Encrypted with a shift of 3\nshift = 3\nplaintext = Cryptix.decrypt_caesar(ciphertext, shift)\nprint(\"Caesar Cipher Decryption:\", plaintext)\n```\n\n## Conclusion\nSimply there is the logic to decrypt all these algorthims, like if you want any cipher to decrypt, follow the trick below:\n```python\nfrom Cryptix import Cryptix\nciphertext = \"Xhpc yb fggw\" # Example encrypted text\nkey_matrix = [[6, 24, 1], [13, 16, 10], [20, 17, 15]]\nplaintext = Cryptix.decrypt_hill(ciphertext, key_matrix)\nprint(\"Hill Cipher Decryption:\", plaintext)\n\n```\nJust you want to type `decrypt_name`, like `decrypt_hill_cipher`, then either you want to print it or use a variable to store it and then print it.\nThe above example showed us that if you want to print it, first by saving its returing value to variable and then printing it.\n\n### Other way to do\n```python\nfrom Cryptix import Cryptix\nprint(decrypt_caeser_cipher(\"HERE CIPHER TEXT COMES\", \"HERE COMES THE SWIFT FOR IT\"))\n```\n\nSimilary you can do it for decoding the mentioned encodings you have to use.\n```python\nencoded_text = \"+++++++......++++++,-------\" # Example encoded text\nplaintext = Cryptix.decode_morse_code(encoded_text)\nprint(\"Morse Code decoded text:\", encoded_text)\n```\n\n### Other way to do it\n```python\nfrom Cryptix import Cryptix\nprint(\"Morse Code decoded text:\", encoded_text)\n```\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A versatile cryptography library for various encryption and decryption techniques.",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/president-xd/Cryptix"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fe7f00e93d3ef37639baa194fc84d5caf31039298cb3953e23c6f3ede77d6fea",
"md5": "1756ced7bdd0146b17228998e99acb88",
"sha256": "4b4295d45a0c36f91fcff6066824351834df759a2777ead9f3a81c13ac940177"
},
"downloads": -1,
"filename": "Cryptix-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1756ced7bdd0146b17228998e99acb88",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 9700,
"upload_time": "2024-08-20T19:36:15",
"upload_time_iso_8601": "2024-08-20T19:36:15.857184Z",
"url": "https://files.pythonhosted.org/packages/fe/7f/00e93d3ef37639baa194fc84d5caf31039298cb3953e23c6f3ede77d6fea/Cryptix-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "394fce1c498cc950c71f57e6cebcf529f6996679c411d6566d0fde4596551762",
"md5": "8bbf2b62554d277f1be720a18bba2efa",
"sha256": "9b00b0cb22b9b2fc68cd8239a3437c9678b2d7854c7973bbb1baa3fdb80c88cd"
},
"downloads": -1,
"filename": "Cryptix-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "8bbf2b62554d277f1be720a18bba2efa",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 9473,
"upload_time": "2024-08-20T19:36:17",
"upload_time_iso_8601": "2024-08-20T19:36:17.868795Z",
"url": "https://files.pythonhosted.org/packages/39/4f/ce1c498cc950c71f57e6cebcf529f6996679c411d6566d0fde4596551762/Cryptix-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-20 19:36:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "president-xd",
"github_project": "Cryptix",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "cryptix"
}