{"id":15717913,"url":"https://github.com/electux/codecipher","last_synced_at":"2026-03-04T15:31:09.495Z","repository":{"id":41847928,"uuid":"422757515","full_name":"electux/codecipher","owner":"electux","description":"CODECipher is fwk for cipher utilities.","archived":false,"fork":false,"pushed_at":"2025-11-05T04:04:30.000Z","size":4644,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T20:37:44.659Z","etag":null,"topics":["bsd","cipher","cipher-algorithms","freebsd","linux","macos","macosx","python3","qnx","unix","windows"],"latest_commit_sha":null,"homepage":"https://electux.github.io/codecipher","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-30T01:45:19.000Z","updated_at":"2025-11-05T04:00:57.000Z","dependencies_parsed_at":"2024-10-24T14:31:10.990Z","dependency_job_id":"39451318-79c6-4f02-abba-b54f0d49d5d3","html_url":"https://github.com/electux/codecipher","commit_stats":{"total_commits":52,"total_committers":2,"mean_commits":26.0,"dds":"0.038461538461538436","last_synced_commit":"906b474cd897633a7ce4359815957319c74b4c71"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/electux/codecipher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electux%2Fcodecipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electux%2Fcodecipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electux%2Fcodecipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electux%2Fcodecipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electux","download_url":"https://codeload.github.com/electux/codecipher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electux%2Fcodecipher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30084960,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T13:22:36.021Z","status":"ssl_error","status_checked_at":"2026-03-04T13:20:45.750Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bsd","cipher","cipher-algorithms","freebsd","linux","macos","macosx","python3","qnx","unix","windows"],"created_at":"2024-10-03T21:51:36.724Z","updated_at":"2026-03-04T15:31:09.479Z","avatar_url":"https://github.com/electux.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CODECipher\n\n\u003cimg align=\"right\" src=\"https://raw.githubusercontent.com/electux/codecipher/dev/docs/codecipher_logo.png\" width=\"25%\"\u003e\n\n**codecipher** is package for cipher utilities.\n\nDeveloped in **[python](https://www.python.org/)** code.\n\nThe README is used to introduce the modules and provide instructions on\nhow to install the modules, any machine dependencies it may have and any\nother information that should be provided before the modules are installed.\n\n[![codecipher python checker](https://github.com/electux/codecipher/actions/workflows/codecipher_python_checker.yml/badge.svg)](https://github.com/electux/codecipher/actions/workflows/codecipher_python_checker.yml) [![codecipher package checker](https://github.com/electux/codecipher/actions/workflows/codecipher_package_checker.yml/badge.svg)](https://github.com/electux/codecipher/actions/workflows/codecipher_package.yml) [![GitHub issues open](https://img.shields.io/github/issues/electux/codecipher.svg)](https://github.com/electux/codecipher/issues) [![GitHub contributors](https://img.shields.io/github/contributors/electux/codecipher.svg)](https://github.com/electux/codecipher/graphs/contributors)\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of Contents**\n\n- [Installation](#installation)\n    - [Install using pip](#install-using-pip)\n    - [Install using build](#install-using-build)\n    - [Install using py setup](#install-using-py-setup)\n    - [Install using docker](#install-using-docker)\n- [Dependencies](#dependencies)\n- [Usage](#usage)\n- [Package structure](#package-structure)\n- [Code coverage](#code-coverage)\n- [Docs](#docs)\n- [Contributing](#contributing)\n- [Copyright and Licence](#copyright-and-licence)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n### Installation\n\nUsed next development environment\n\n![debian linux os](https://raw.githubusercontent.com/electux/codecipher/dev/docs/debtux.png)\n\n[![codecipher python3 build](https://github.com/electux/codecipher/actions/workflows/codecipher_python3_build.yml/badge.svg)](https://github.com/electux/codecipher/actions/workflows/codecipher_python3_build.yml)\n\nCurrently there are three ways to install package\n* Install process based on using pip mechanism\n* Install process based on build mechanism\n* Install process based on setup.py mechanism\n* Install process based on docker mechanism\n\n##### Install using pip\n\n**codecipher** is located at **[pypi.org](https://pypi.org/project/codecipher/)**.\n\nYou can install by using pip\n\n```bash\n# python3\npip3 install codecipher\n```\n\n##### Install using build\n\nNavigate to **[release page](https://github.com/electux/codecipher/releases)** download and extract release archive.\n\nTo install **codecipher**, run\n\n```bash\ntar xvzf codecipher-x.y.z.tar.gz\ncd codecipher-x.y.z\n# python3\nwget https://bootstrap.pypa.io/get-pip.py\npython3 get-pip.py \npython3 -m pip install --upgrade setuptools\npython3 -m pip install --upgrade pip\npython3 -m pip install --upgrade build\npip3 install -r requirements.txt\npython3 -m build --no-isolation --wheel\npip3 install codecipher-x.y.z-py3-none-any.whl\nrm -f get-pip.py\n```\n\n##### Install using py setup\n\nNavigate to **[release page](https://github.com/electux/codecipher/releases)** download and extract release archive.\n\nTo install **codecipher**, locate and run setup.py with arguments\n\n```bash\ntar xvzf codecipher-x.y.z.tar.gz\ncd codecipher-x.y.z\n# python3\npip3 install -r requirements.txt\npython3 setup.py install_lib\npython3 setup.py install_egg_info\n```\n\n##### Install using docker\n\nYou can use Dockerfile to create image/container.\n\n### Dependencies\n\n**codecipher** requires other modules and libraries (Python 3.x)\n* None\n\n### Usage\n\n```python\nfrom codecipher.a1z52n62 import A1z52N62\nfrom codecipher.atbs import AlephTawBetShin\nfrom codecipher.b64 import B64\nfrom codecipher.caesar import Caesar\nfrom codecipher.vigenere import Vigenere\nfrom codecipher.vernam import Vernam\n\nprint(\"A1z52N62 cipher\")\ncipher = A1z52N62()\ndata = \"More Human Than Human01 Is Our Motto\"\n# encoding data\ncipher.encode(data)\n# encoded data\nprint(cipher.encode_data)\n# decoding data\ncipher.decode(cipher.encode_data)\n# decoded data\nprint(cipher.decode_data)\nprint(50*'=')\n\nprint(\"AlephTawBetShin cipher\")\ncipher = AlephTawBetShin()\ndata = \"More Human Than Human01 Is Our Motto\"\n# encoding data\ncipher.encode(data)\n# encoded data\nprint(cipher.encode_data)\n# decoding data\ncipher.decode(cipher.encode_data)\n# decoded data\nprint(cipher.decode_data)\nprint(50*'=')\n\nprint(\"B64 cipher\")\ncipher = B64()\ndata = \"More Human Than Human01 Is Our Motto\"\n# encoding data\ncipher.encode(data)\n# encoded data\nprint(cipher.encode_data)\n# decoding data\ncipher.decode(cipher.encode_data)\n# decoded data\nprint(cipher.decode_data)\nprint(50*'=')\n\nprint(\"Caesar cipher\")\ncipher = Caesar()\ndata = \"More Human Than Human01 Is Our Motto\"\n# encoding data\ncipher.encode(data, 3)\n# encoded data\nprint(cipher.encode_data)\n# decoding data\ncipher.decode(cipher.encode_data, 3)\n# decoded data\nprint(cipher.decode_data)\nprint(50*'=')\n\nprint(\"Vigenere cipher\")\ncipher = Vigenere()\ndata = \"More Human Than Human01 Is Our Motto\"\ncipher.data_len = len(data)\ncipher.key = \"AYUSH\"\ncipher.generate_key()\n# encoding data\ncipher.encode(data, cipher.key)\n# encoded data\nprint(cipher.encode_data)\n# decoding data\ncipher.decode(cipher.encode_data, cipher.key)\n# decoded data\nprint(cipher.decode_data)\nprint(50*'=')\n\nprint(\"Vernam cipher\")\ncipher = Vernam()\ndata = \"More Human Than Human01 Is Our Motto\"\n# encoding data\ncipher.encode(data, \"randomrandomrandom\")\n# encoded data\nprint(cipher.encode_data)\n# decoding data\ncipher.decode(cipher.encode_data, \"randomrandomrandom\")\n# decoded data\nprint(cipher.decode_data)\nprint(50*'=')\n```\n\n### Package structure\n\n**codecipher** is based on OOP.\n\nPackage structure\n\n```bash\n    codecipher/\n        ├── a1z52n62/\n        │   ├── decode.py\n        │   ├── encode.py\n        │   └── __init__.py\n        ├── atbs/\n        │   ├── decode.py\n        │   ├── encode.py\n        │   ├── __init__.py\n        │   └── lookup_table.py\n        ├── b64/\n        │   ├── decode.py\n        │   ├── encode.py\n        │   └── __init__.py\n        ├── caesar/\n        │   ├── decode.py\n        │   ├── encode.py\n        │   └── __init__.py\n        ├── __init__.py\n        ├── py.typed\n        ├── vernam/\n        │   ├── decode.py\n        │   ├── encode.py\n        │   └── __init__.py\n        └── vigenere/\n            ├── decode.py\n            ├── encode.py\n            ├── __init__.py\n            ├── key_generator.py\n            └── lookup_table.py\n    \n    7 directories, 23 files\n```\n\n### Code coverage\n\n| Name | Stmts | Miss | Cover |\n|------|-------|------|-------|\n| `codecipher/__init__.py` | 0 | 0 | 100%|\n| `codecipher/a1z52n62/__init__.py` | 16 | 0 | 100%|\n| `codecipher/a1z52n62/decode.py` | 32 | 2 | 94%|\n| `codecipher/a1z52n62/encode.py` | 32 | 2 | 94%|\n| `codecipher/atbs/__init__.py` | 16 | 0 | 100%|\n| `codecipher/atbs/decode.py` | 29 | 2 | 93%|\n| `codecipher/atbs/encode.py` | 29 | 2 | 93%|\n| `codecipher/atbs/lookup_table.py` | 10 | 0 | 100%|\n| `codecipher/b64/__init__.py` | 16 | 0 | 100%|\n| `codecipher/b64/decode.py` | 24 | 2 | 92%|\n| `codecipher/b64/encode.py` | 24 | 2 | 92%|\n| `codecipher/caesar/__init__.py` | 16 | 0 | 100%|\n| `codecipher/caesar/decode.py` | 41 | 2 | 95%|\n| `codecipher/caesar/encode.py` | 41 | 2 | 95%|\n| `codecipher/vernam/__init__.py` | 16 | 0 | 100%|\n| `codecipher/vernam/decode.py` | 36 | 2 | 94%|\n| `codecipher/vernam/encode.py` | 36 | 2 | 94%|\n| `codecipher/vigenere/__init__.py` | 17 | 0 | 100%|\n| `codecipher/vigenere/decode.py` | 37 | 2 | 95%|\n| `codecipher/vigenere/encode.py` | 37 | 2 | 95%|\n| `codecipher/vigenere/key_generator.py` | 37 | 2 | 95%|\n| `codecipher/vigenere/lookup_table.py` | 16 | 0 | 100%|\n| **Total** | 558 | 26 | 95% |\n\n### Docs\n\n[![documentation status](https://readthedocs.org/projects/codecipher/badge/?version=latest)](https://codecipher.readthedocs.io/en/latest/?badge=latest)\n\nMore documentation and info at\n\n* [codecipher.readthedocs.io](https://codecipher.readthedocs.io/en/latest/)\n* [www.python.org](https://www.python.org/)\n\n### Contributing\n\n[Contributing to codecipher](CONTRIBUTING.md)\n\n### Copyright and Licence\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nCopyright (C) 2021 - 2026 by [electux.github.io/codecipher](https://electux.github.io/codecipher/)\n\n**codecipher** is free software; you can redistribute it and/or modify\nit under the same terms as Python itself, either Python version 3.x or,\nat your option, any later version of Python 3 you may have available.\n\nLets help and support PSF.\n\n[![Python Software Foundation](https://raw.githubusercontent.com/electux/codecipher/dev/docs/psf-logo-alpha.png)](https://www.python.org/psf/)\n\n[![Donate](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.python.org/psf/donations/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectux%2Fcodecipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felectux%2Fcodecipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felectux%2Fcodecipher/lists"}