{"id":22621323,"url":"https://github.com/botsuniverse/cryptrooper","last_synced_at":"2025-03-29T02:24:08.130Z","repository":{"id":49590860,"uuid":"375918488","full_name":"BotsUniverse/cryptrooper","owner":"BotsUniverse","description":"Cryptrooper is a module that can encode and decode your text with a given key.","archived":false,"fork":false,"pushed_at":"2021-06-12T03:28:11.000Z","size":18,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T07:48:33.401Z","etag":null,"topics":["crypt","cryptography","decode","encode","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BotsUniverse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-11T05:49:21.000Z","updated_at":"2021-10-18T15:55:52.000Z","dependencies_parsed_at":"2022-09-14T00:10:46.781Z","dependency_job_id":null,"html_url":"https://github.com/BotsUniverse/cryptrooper","commit_stats":null,"previous_names":["sprin-g-reen/cryptrooper"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BotsUniverse%2Fcryptrooper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BotsUniverse%2Fcryptrooper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BotsUniverse%2Fcryptrooper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BotsUniverse%2Fcryptrooper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BotsUniverse","download_url":"https://codeload.github.com/BotsUniverse/cryptrooper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246127704,"owners_count":20727775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crypt","cryptography","decode","encode","python","python3"],"created_at":"2024-12-08T23:07:39.546Z","updated_at":"2025-03-29T02:24:08.103Z","avatar_url":"https://github.com/BotsUniverse.png","language":"Python","readme":"\n# `CRYPTROOPER`\n\nA module that can endode and decode your text with your given key.\n\n\n| ![LICENSE](https://img.shields.io/badge/License-Mozilla%20Public%20License%202.0-green.svg)| ![Tests](https://img.shields.io/badge/Tests-Passing-blue.svg) |\n| :----- | :----- |\n| ![Builds](https://img.shields.io/badge/Builds-Passing-blue.svg) | ![Maintainer](https://img.shields.io/badge/Maintainer-Admins-black.svg) |\n| [![PYPI](https://img.shields.io/badge/PYPI-cryptrooper-purple.svg)](https://pypi.com/project/cryptrooper) | [![UNIT OF](https://img.shields.io/badge/UNIT%20OF-SPRINGREEN-maganta.svg)](https://github.com/sprin-g-reen) |\n\n## Features\n\n- No additinal installation required.\n- Can work on any system with python \u003e= 3.x\n- Can encode and decode text of any language.\n- Can encode and decode emoticons and symbols also.\n\n\n## Installation \n\n\nInstall cryptrooper with pypi\n\n```bash\n  pip install cryptrooper\n```\n\n## Documentation\n\n`Crypto` is a class in the `__init__.py` file at the module `cryptrooper`.\n\n#### Parameters:\n- text \n    - The text you want to encode or decode.\n- key\n    - The key to encode or decode the text with.\n#### Functions:\n- encode\n    - The function that encodes your text with your key.\n    - returns a `DICT` like the below one:\n        ```python\n        {  \n            \"key\": \"Your Key\",\n            \"encoded\": \"The encoded text\",\n            \"decoded\": \"The decoded text\",\n            \"result\": \"The encoded text\",\n            \"error\": None\n        }\n        ```\n        - The error is None if no error, else it contains the class of raised error.\n\n- decode\n    - The function that decoded your encoded text with your key.\n    - returns a `DICT` like the below one:\n        ```python\n        {  \n            \"key\": \"Your Key\",\n            \"encoded\": \"The encoded text\",\n            \"decoded\": \"The decoded text\",\n            \"result\": \"The decoded text\",\n            \"error\": None\n        }\n        ```\n        - The error is None if no error, else it contains the class of raised error.\n\n\n\nExample of encoding:\n```python\nfrom cryptrooper import Crypto\n\n# `Crypto` is a class.\ntext = \"The text you want to encode.\"\nkey = \"The key.\"\n\n\n# passing the text and key to Crypto\nins = Crypto(text, key)\n\n\n# getting the result which is of type `dict`\nresult = ins.encode()\nprint(result)\n\n\n# this prints:\n# {\n#     'key': 'The key.',\n#     'encoded': '168 208 202 64 223 202 241 200 \\136 222 143 224 133 240 181 214 217 64 223 212 153 185 214 200 143 207 202 167',\n#     'decoded': 'The text you want to encode.',\n#     'result': '168 208 202 64 223 202 241 200 136 222 143 224 133 240 181 214 217 64 223 212 153 185 214 200 143 207 202 167',\n#     'error': None\n# }\n```\n\n\nExample of decoding:\n```python\nfrom cryptrooper import Crypto\n\n\n# `Crypto` is a class.\ntext = \"183 212 212 149 214 215 232 149 204 223 143 215 207 225 212 163\"\nkey = \"cloud\"\n\n\n# passing the text and key to Crypto\nins = Crypto(text, key)\n\n\n# getting the result which is of type `dict`\nresult = ins.decode()\nprint(result)\n\n\n# this prints:\n# {\n#     'key': 'cloud',\n#     'encode': '183 212 212 149 214 215 232 149 204 223 143 215 207 225 212 163',\n#     'decode': 'The sky is blue.',\n#     'result': 'The sky is blue.',\n#     'error': None\n# }\n```\n## Authors\n\n- [@Parvat-web-dev](https://www.github.com/Parvat-web-dev)\n- [@Rohithsreedharan](https://www.github.com/Rohithsreedharan)\n\n  \n\n## Contributing\n\nContributions are always welcome!\nContact [*@Parvat_R*](https://telegram.me/Parvat_R) for Contributions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotsuniverse%2Fcryptrooper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbotsuniverse%2Fcryptrooper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbotsuniverse%2Fcryptrooper/lists"}