{"id":28756890,"url":"https://github.com/obirikan/caesar-cipher-encoder-decoder","last_synced_at":"2025-06-27T18:37:40.339Z","repository":{"id":298488565,"uuid":"1000137561","full_name":"obirikan/Caesar-Cipher-Encoder-Decoder","owner":"obirikan","description":" 🔐This project implements a modular Caesar cipher for encoding and decoding English alphabetic messages. It's structured in a clean, maintainable folder-based architecture using Python functions and modules.","archived":false,"fork":false,"pushed_at":"2025-06-11T17:51:48.000Z","size":212,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-11T19:16:24.294Z","etag":null,"topics":["cryptography"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/obirikan.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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,"zenodo":null}},"created_at":"2025-06-11T10:17:04.000Z","updated_at":"2025-06-11T17:51:51.000Z","dependencies_parsed_at":"2025-06-11T19:16:26.383Z","dependency_job_id":null,"html_url":"https://github.com/obirikan/Caesar-Cipher-Encoder-Decoder","commit_stats":null,"previous_names":["obirikan/simple-caesar-cipher-encoder-decoder","obirikan/caesar-cipher-encoder-decoder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/obirikan/Caesar-Cipher-Encoder-Decoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FCaesar-Cipher-Encoder-Decoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FCaesar-Cipher-Encoder-Decoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FCaesar-Cipher-Encoder-Decoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FCaesar-Cipher-Encoder-Decoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/obirikan","download_url":"https://codeload.github.com/obirikan/Caesar-Cipher-Encoder-Decoder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/obirikan%2FCaesar-Cipher-Encoder-Decoder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262313502,"owners_count":23292145,"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":["cryptography"],"created_at":"2025-06-17T03:09:07.132Z","updated_at":"2025-06-27T18:37:40.307Z","avatar_url":"https://github.com/obirikan.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🔐 Modular Caesar Cipher\n\nThis project implements a **modular Caesar cipher** for encoding and decoding English alphabetic messages. It's structured in a clean, maintainable folder-based architecture using Python functions and modules.\n\n---\n## 📁 Architecture\n![Caesar Cipher Diagram](assets/cc.png)\n\n\n## 📁 Project Structure\n\n```\nCaesarCipherProject/\n├── cipher.py                       # Main runner script\n├── Variables/\n│   └── main.py                     # Contains shared constants (alphabets, delimiter)\n├── Tokenizer/\n│   └── main.py                     # Contains the Transfomer function\n├── encoder/\n│   └── encoder.py                  # Encoding logic\n├── decoder/\n    └── decoder.py                  # Decoding logic\n```\n\n---\n\n## 🚀 How It Works\n\n### 🔁 `Transfomer(input_sentence)`\n\n* Breaks sentence into individual characters\n* Converts characters into index positions in the alphabet\n* Passes characters to `Encode_Message()` and indices to `Decoded_Message()`\n\n### 🔐 `Encode_Message(each_letter)`\n\n* Shifts each letter back by 3 positions in the alphabet\n* Returns the encoded message as a string\n\n### 🔓 `Decoded_Message(word_index_in_alphabet)`\n\n* Adjusts negative indices (replaces them with -1, which maps to 'z')\n* Reconstructs the original sentence (note: 'z' used as space)\n\n---\n\n## 💬 Example\n\n```python\ninput_sentence = 'we are going home today'\n\n# Output:\nEncoded Message: tb xob dlfkd eljb qlabv\nDecoded Message: we are going home today\n```\n\n(Note: In this version, 'z' is temporarily used to indicate spaces)\n\n---\n\n## 🔧 Future Improvements (Phase 2+)\n\n* Support upper/lower case properly\n* Handle non-alphabetic characters\n* Create CLI or GUI wrapper\n\n---\n\n## 📦 Requirements\n\n* Python 3+\n\n---\n\n## ⚖️ License\n\nMIT License — free to use and modify.\n\n---\n\n## 👤 Author\n\n* GitHub: obirikan\n\n\u003e \"Encryption teaches us the power of shifting perspective—literally and logically.\"\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobirikan%2Fcaesar-cipher-encoder-decoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fobirikan%2Fcaesar-cipher-encoder-decoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fobirikan%2Fcaesar-cipher-encoder-decoder/lists"}