{"id":22599401,"url":"https://github.com/darshan-kc/python-caesar-cipher","last_synced_at":"2025-04-10T16:10:45.513Z","repository":{"id":264343056,"uuid":"891573437","full_name":"Darshan-KC/Python-Caesar-cipher","owner":"Darshan-KC","description":"A substitution cipher that shifts letters by a fixed number of positions","archived":false,"fork":false,"pushed_at":"2025-03-28T15:32:21.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T16:34:07.212Z","etag":null,"topics":["cryptography","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Darshan-KC.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}},"created_at":"2024-11-20T15:16:54.000Z","updated_at":"2025-03-28T15:32:24.000Z","dependencies_parsed_at":"2025-03-21T12:33:52.651Z","dependency_job_id":null,"html_url":"https://github.com/Darshan-KC/Python-Caesar-cipher","commit_stats":null,"previous_names":["darshan-kc/python-caesar-cipher"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darshan-KC%2FPython-Caesar-cipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darshan-KC%2FPython-Caesar-cipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darshan-KC%2FPython-Caesar-cipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darshan-KC%2FPython-Caesar-cipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Darshan-KC","download_url":"https://codeload.github.com/Darshan-KC/Python-Caesar-cipher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248250846,"owners_count":21072683,"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","python3"],"created_at":"2024-12-08T11:09:23.218Z","updated_at":"2025-04-10T16:10:45.508Z","avatar_url":"https://github.com/Darshan-KC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python Caesar Cipher\r\n\r\nThis repository contains a simple implementation of the Caesar Cipher algorithm in Python. The Caesar Cipher is a classic encryption technique where each letter in the plaintext is shifted by a fixed number of positions in the alphabet.\r\n\r\n## Features\r\n\r\n- Encrypt a plaintext message using a shift key.\r\n- Decrypt a ciphertext message using a shift key.\r\n- Handles both uppercase and lowercase letters.\r\n- Ignores non-alphabetic characters during encryption/decryption.\r\n\r\n## How It Works\r\n\r\nThe Caesar Cipher shifts each letter in the message by a specified number of positions. For example, with a shift of `3`:\r\n- `A` becomes `D`\r\n- `B` becomes `E`\r\n- `Z` wraps around to `C`\r\n\r\n## Usage\r\n\r\n### Prerequisites\r\n\r\n- Python 3.x installed on your system.\r\n\r\n### Running the Script\r\n\r\n1. Clone the repository:\r\n    ```bash\r\n    git clone https://github.com/Darshan-KC/Python-Caesar-cipher.git\r\n    cd Python-Caesar-cipher\r\n    ```\r\n\r\n2. Run the script:\r\n    ```bash\r\n    python caesar_cipher.py\r\n    ```\r\n\r\n3. Follow the on-screen prompts to:\r\n    - Choose between encryption and decryption.\r\n    - Input the message and shift key.\r\n\r\n### Example\r\n\r\n**Input:**\r\n- Operation: Encrypt\r\n- Message: `Hello, World!`\r\n- Shift Key: `3`\r\n\r\n**Output:**\r\n- Encrypted Message: `Khoor, Zruog!`\r\n\r\n## File Structure\r\n\r\n- `caesar_cipher.py`: The main script implementing the Caesar Cipher.\r\n\r\n## Contributing\r\n\r\nContributions are welcome! If you find bugs or want to enhance the functionality, feel free to fork the repository and submit a pull request.\r\n\r\n## License\r\n\r\nThis project is licensed under the [MIT License](LICENSE).\r\n\r\n---\r\n\r\nHappy coding! 😊\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarshan-kc%2Fpython-caesar-cipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarshan-kc%2Fpython-caesar-cipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarshan-kc%2Fpython-caesar-cipher/lists"}