{"id":20225728,"url":"https://github.com/d4v1-sudo/vigenere-cipher","last_synced_at":"2026-05-31T01:31:14.810Z","repository":{"id":205368906,"uuid":"714075774","full_name":"d4v1-sudo/vigenere-cipher","owner":"d4v1-sudo","description":"🧩🔒 - Vigenere cipher: encode/decode using passcodes","archived":false,"fork":false,"pushed_at":"2024-04-28T23:43:44.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T23:28:58.981Z","etag":null,"topics":["cipher","cipher-algorithms","ciphers","ciphertext","vigenere","vigenere-cipher","vigenere-cipher-algorithm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/d4v1-sudo.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":"2023-11-03T21:35:43.000Z","updated_at":"2024-04-28T23:43:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2130db4-6489-4e28-a92c-b78d6f52a226","html_url":"https://github.com/d4v1-sudo/vigenere-cipher","commit_stats":null,"previous_names":["d4v1-sudo/vigenere-cipher"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4v1-sudo%2Fvigenere-cipher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4v1-sudo%2Fvigenere-cipher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4v1-sudo%2Fvigenere-cipher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/d4v1-sudo%2Fvigenere-cipher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/d4v1-sudo","download_url":"https://codeload.github.com/d4v1-sudo/vigenere-cipher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241670128,"owners_count":20000325,"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":["cipher","cipher-algorithms","ciphers","ciphertext","vigenere","vigenere-cipher","vigenere-cipher-algorithm"],"created_at":"2024-11-14T07:14:31.425Z","updated_at":"2026-05-31T01:31:14.773Z","avatar_url":"https://github.com/d4v1-sudo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧩🔒 - Vigenere Cipher\n\nThis Python script implements the Vigenere cipher for encrypting and decrypting text based on a provided keyword.\n\n## Usage\n\n1. **Clone the Repository:**\n   ```bash\n   https://github.com/d4v1-sudo/vigenere-cipher.git\n   cd vigenere-cipher\n   ```\n\n2. **Run the Script:**\n   ```bash\n   python3 vigenere_cipher.py\n   ```\n\n3. **Follow the Prompts:**\n   - Enter the text to be processed.\n   - Enter the keyword for encryption or decryption.\n   - Choose to encrypt or decrypt by typing 'e' or 'd' accordingly.\n\n## Script Description\n\nThe Python script consists of two functions:\n\n### `generateKey(string, key)`\n\nThis function generates a key of the same length as the input string by repeating the provided keyword. If the lengths are already equal, the key is returned as is.\n\n### `vigenere(string, key, mode)`\n\nThis function performs the Vigenere cipher operation on the input string using the provided key and specified mode ('e' for encryption or 'd' for decryption).\n\n- Encryption (`mode == \"e\"`): Encrypts the input text using the Vigenere cipher.\n- Decryption (`mode == \"d\"`): Decrypts the input text using the Vigenere cipher.\n\n## Example\n\n```bash\nText to process: HelloWorld\nKeyword: KEY\nEncrypt or decrypt? (Type 'e' or 'd'): e\nCiphertext: RiJvsPvyG\n```\n\n## Note\n\n- Make sure to only enter alphabetic characters in the input text.\n- The keyword should consist of alphabetic characters only.\n\nFeel free to use and modify the script for your cryptographic needs. If you encounter any issues or have suggestions for improvements, please let us know.\n\n\u003ca href=\"https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2Fd4v1-sudo%2Fvigenere-cipher\"\u003e\u003cimg src=\"https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fd4v1-sudo%2Fvigenere-cipher\u0026label=Thanks%20for%20dropping%20in\u0026labelColor=%23000000\u0026countColor=%23FFFFFF\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd4v1-sudo%2Fvigenere-cipher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd4v1-sudo%2Fvigenere-cipher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd4v1-sudo%2Fvigenere-cipher/lists"}