{"id":25328485,"url":"https://github.com/pieroboseta/piero-ende-coder","last_synced_at":"2026-02-26T00:33:00.056Z","repository":{"id":276024113,"uuid":"927961612","full_name":"pieroboseta/Piero-EnDe-Coder","owner":"pieroboseta","description":"A powerful encryption and decryption tool that combines the Vigenère cipher, XOR encryption, and Base64 encoding to secure messages. This tool allows users to encode and decode messages using a secret key, ensuring an extra layer of security.","archived":false,"fork":false,"pushed_at":"2025-02-27T12:46:44.000Z","size":82,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T02:49:53.825Z","etag":null,"topics":["algorithm","base64","cipher","cpp","cryptography","data-conversion","data-encoding","decoder","decryption","encoder","encryption","hashing","string-manipulation","text-processing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pieroboseta.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-05T20:34:52.000Z","updated_at":"2025-02-27T12:46:47.000Z","dependencies_parsed_at":"2025-02-05T21:36:59.088Z","dependency_job_id":"800ce0f0-c219-42d6-b217-01a8c4018d0b","html_url":"https://github.com/pieroboseta/Piero-EnDe-Coder","commit_stats":null,"previous_names":["pieroboseta/piero-ende-coder"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pieroboseta%2FPiero-EnDe-Coder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pieroboseta%2FPiero-EnDe-Coder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pieroboseta%2FPiero-EnDe-Coder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pieroboseta%2FPiero-EnDe-Coder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pieroboseta","download_url":"https://codeload.github.com/pieroboseta/Piero-EnDe-Coder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767252,"owners_count":20992541,"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":["algorithm","base64","cipher","cpp","cryptography","data-conversion","data-encoding","decoder","decryption","encoder","encryption","hashing","string-manipulation","text-processing"],"created_at":"2025-02-14T02:33:55.930Z","updated_at":"2026-02-26T00:33:00.029Z","avatar_url":"https://github.com/pieroboseta.png","language":"Python","funding_links":["https://paypal.me/pieroboseta?country.x=AL\u0026locale.x=en_US"],"categories":[],"sub_categories":[],"readme":"# 🔐 Piero EnDe-Coder\n\nA powerful encryption and decryption tool that combines the **Vigenère cipher**, **XOR encryption**, and **Base64 encoding** to secure messages. This tool allows users to encode and decode messages using a secret key, ensuring an extra layer of security.\n\n## ⚙️ Features\n\n✔ Uses **Vigenère cipher** for initial encryption  \n✔ Applies **XOR encryption** with a randomly generated key  \n✔ Encodes results in **Base64** for safe storage and transmission  \n✔ Supports **decryption** with the correct key  \n✔ Interactive **menu-based** CLI  \n\n---\n\n## 📚 Table of Contents\n\n- [How It Works](#how-it-works)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Encryption \u0026 Decryption Process](#encryption--decryption-process)\n- [Example Usage](#example-usage)\n- [Technical Details](#technical-details)\n- [License](#license)\n\n---\n\n## 💡 How It Works\n\nPiero EnDe-Coder follows a **three-layered encryption process**:\n\n1. **Vigenère Cipher**: Encrypts the text using a key-based shifting method.\n2. **XOR Encryption**: Applies XOR transformation with a randomly generated key.\n3. **Base64 Encoding**: Encodes the final result into Base64 for secure transfer.\n\nFor decryption, the process is reversed:\n\n1. **Base64 Decoding** → **XOR Decryption** → **Vigenère Decryption**.\n\n---\n\n## 🛠️ Installation\n\n### ✅ **Download the file from:**  \nhttps://github.com/pieroboseta/Piero-EnDe-Coder/releases/tag/Security \n\nor  \n\nNo external dependencies are required. Simply clone this repository and run the script.\n\n```bash\ngit clone https://github.com/pieroboseta/Piero-EnDe-Coder.git\ncd Piero-EnDe-Coder\npython Piero-EnDe-Coder.py\n```\n\n---\n\n## 💖 Support This Project\n\nIf you find this project helpful, consider supporting its development! Your donation helps keep the project alive and improve it further.\n\n[![Donate via PayPal](https://img.shields.io/badge/Donate-PayPal-blue.svg)](https://paypal.me/pieroboseta?country.x=AL\u0026locale.x=en_US)\n\nEvery contribution is greatly appreciated! Thank you for your support. 🙌\n\n---\n\n## 👨‍💻 Usage\n\n### Running the Program\n\nRun the script using:\n\n```bash\npython Piero-EnDe-Coder.py\n```\n\nYou'll see a menu like this:\n\n```plaintext\n*****************************\n      PIERO ENDE-CODER       \n*****************************\nInstructions:\n  - This tool encrypts and decrypts messages using the Vigenère Cipher\n    combined with XOR encryption.\n  - You will need to enter a **secret key** for encryption and decryption.\n\nChoose an option:\n  [1] Encrypt a message\n  [2] Decrypt a message\n  [3] Exit\n*****************************\n```\n\n### Encrypt a Message\n\n1. Select **Option 1**.\n2. Enter a **secret key** (used for encryption and decryption).\n3. Enter the text to encrypt.\n4. Receive the **encrypted message**.\n\n### Decrypt a Message\n\n1. Select **Option 2**.\n2. Enter the **same secret key** used for encryption.\n3. Enter the **encrypted text**.\n4. Receive the **decrypted message**.\n\n### Exit\n\n- Select **Option 3** to exit the program.\n\n---\n\n## 📌 Encryption \u0026 Decryption Process\n\n| Step | Encryption                                   | Decryption                                   |\n|------|----------------------------------------------|----------------------------------------------|\n| 1    | **Vigenère Cipher** shifts text with key     | **Reverse Vigenère Cipher** restores text    |\n| 2    | **XOR Encryption** scrambles data with key   | **XOR Decryption** reverses the transformation |\n| 3    | **Base64 Encoding** makes text safe for storage | **Base64 Decoding** restores encrypted text |\n\n---\n\n## 🧩 Example Usage\n\n### Encryption Example:\n\n```\nEnter the secret key: secret123\nEnter the text to encrypt: Hello World\n```\n\n**Output (Encrypted Text):**\n\n```\nUGFr... (Base64 Encoded String)\n```\n\n### Decryption Example:\n\n```\nEnter the secret key: secret123\nEnter the encrypted text: UGFr...\n```\n\n**Output (Decrypted Text):**\n\n```\nHello World\n```\n\n---\n\n## 🧐 Technical Details\n\n- **Programming Language**: Python 3  \n- **Encryption Methods**:\n  - Vigenère Cipher (Key-based shift cipher)\n  - XOR Cipher (Bitwise transformation)\n  - Base64 Encoding (Safe text encoding)\n\n### 🔎 Functions Overview:\n\n| Function                         | Purpose                                         |\n|----------------------------------|-------------------------------------------------|\n| `xor_encrypt(text, key)`         | Applies XOR encryption to text                  |\n| `vigenere_cipher(text, key, encrypt=True)` | Encrypts/decrypts using the Vigenère cipher |\n| `vigenere_encode(text, key)`     | Encrypts using Vigenère, XOR, and Base64        |\n| `vigenere_decode(text, key)`     | Decrypts by reversing Base64, XOR, and Vigenère |\n| `print_menu()`                   | Displays the main menu                          |\n| `main()`                         | Runs the interactive command-line interface     |\n\n---\n\n## 📝 License\n\nThis project is **open-source** and free to use.  \nLicensed under the [MIT License](LICENSE).\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpieroboseta%2Fpiero-ende-coder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpieroboseta%2Fpiero-ende-coder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpieroboseta%2Fpiero-ende-coder/lists"}