{"id":30009459,"url":"https://github.com/cluena/cipher-master","last_synced_at":"2026-05-18T09:37:04.093Z","repository":{"id":305162283,"uuid":"1022105096","full_name":"clueNA/Cipher-Master","owner":"clueNA","description":"A comprehensive cryptography application built with Streamlit and Python","archived":false,"fork":false,"pushed_at":"2025-07-18T13:57:33.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-18T18:00:49.083Z","etag":null,"topics":["cipher","cipher-algorithms","python","streamlit"],"latest_commit_sha":null,"homepage":"https://cipher-master.streamlit.app/","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/clueNA.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,"zenodo":null}},"created_at":"2025-07-18T13:11:14.000Z","updated_at":"2025-07-18T14:43:05.000Z","dependencies_parsed_at":"2025-07-18T18:00:50.444Z","dependency_job_id":"5e739be1-025a-4730-a626-65e010eddc24","html_url":"https://github.com/clueNA/Cipher-Master","commit_stats":null,"previous_names":["cluena/cipher-master"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/clueNA/Cipher-Master","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clueNA%2FCipher-Master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clueNA%2FCipher-Master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clueNA%2FCipher-Master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clueNA%2FCipher-Master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clueNA","download_url":"https://codeload.github.com/clueNA/Cipher-Master/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clueNA%2FCipher-Master/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268882845,"owners_count":24323131,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cipher","cipher-algorithms","python","streamlit"],"created_at":"2025-08-05T10:52:54.235Z","updated_at":"2026-05-18T09:36:59.051Z","avatar_url":"https://github.com/clueNA.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Cipher-Master](https://socialify.git.ci/clueNA/Cipher-Master/image?font=Rokkitt\u0026language=1\u0026name=1\u0026owner=1\u0026pattern=Transparent\u0026stargazers=1\u0026theme=Dark)\n\n# 🔐 Cipher Master\n\nA comprehensive cryptography application built with Streamlit that implements 14 different ciphers and encoding methods, featuring interactive audio generation, timing visualizations, and detailed educational content.\n\n![Python](https://img.shields.io/badge/python-blue.svg)\n![Streamlit](https://img.shields.io/badge/streamlit-red.svg)\n![License](https://img.shields.io/badge/license-MIT-green.svg)\n![Last Updated](https://img.shields.io/badge/last%20updated-July%202025-brightgreen.svg)\n\n## 🌐 Live Demo\n[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://cipher-master.streamlit.app/)\n\n## 📋 Table of Contents\n\n- [Features](#-features)\n- [Supported Ciphers](#-supported-ciphers)  \n- [Installation](#-installation)\n- [Usage](#-usage)\n- [Cipher Details](#-cipher-details)\n- [Audio Features](#-audio-features)\n- [Educational Content](#-educational-content)\n- [Contributing](#-contributing)\n- [License](#-license)\n\n## ✨ Features\n\n- **14 Different Ciphers** - From ancient to modern cryptographic methods\n- **Interactive Audio Generation** - Morse code with adjustable WPM and frequency\n- **Visual Timing Diagrams** - Matplotlib-powered Morse code visualization\n- **Educational Explanations** - Learn how each cipher works\n- **Real-time Conversion** - Instant encryption/decryption\n- **Audio Download** - Export Morse code as WAV files\n- **Responsive Design** - Clean, intuitive web interface\n- **Error Handling** - Graceful handling of invalid inputs\n\n## 🔐 Supported Ciphers\n\n### Historical Ciphers (6)\n- **📡 Morse Code** - Telegraph communication with audio playback\n- **🏛️ Caesar Cipher** - Classic Roman shift cipher\n- **⬜ Playfair Cipher** - Victorian-era digraph substitution\n- **📐 Polybius Square** - Ancient Greek coordinate cipher\n- **🐷 Pigpen Cipher** - Masonic symbolic cipher\n- **🔄 Atbash Cipher** - Biblical alphabet reversal\n\n### Modern Encodings (5)\n- **🔣 Hexadecimal** - Base-16 representation\n- **🌐 URL Encoding** - Percent encoding for web\n- **📊 Base64** - Standard data encoding\n- **💻 Binary** - 8-bit binary representation\n- **🔄 ROT13** - Simple letter rotation\n\n### Advanced Ciphers (3)\n- **🔑 Vigenère Cipher** - Polyalphabetic keyword cipher\n- **🚂 Rail Fence Cipher** - Zigzag transposition\n- **🔢 A1Z26 Cipher** - Simple number substitution\n\n## 🚀 Installation\n\n### Prerequisites\n- Python\n- pip package manager\n\n### Quick Start\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/clueNA/Cipher-Master\n   cd Cipher-Master\n   ```\n\n2. **Install dependencies**\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. **Run the application**\n   ```bash\n   streamlit run app.py\n   ```\n\n4. **Open your browser**\n   Navigate to `http://localhost:8501`\n\n5. **Start converting!**\n\n### Dependencies\n```\nstreamlit\nnumpy\nscipy\nmatplotlib\n```\n\n## 🎯 Usage\n\n### Basic Operation\n\n1. **Select a Cipher** - Choose from the sidebar dropdown\n2. **Enter Text** - Type your message in the input area\n3. **Convert** - Click the encrypt/decrypt button\n4. **View Results** - See the converted output instantly\n\n### Morse Code Special Features\n\n- **Audio Settings** - Adjust WPM (5-40) and frequency (300-1000 Hz)\n- **Audio Playback** - Listen to your Morse code\n- **Download Audio** - Save as WAV file\n- **Timing Diagram** - Visual representation of dots, dashes, and gaps\n\n### Example Workflows\n\n**Encrypt with Vigenère:**\n```\nInput: \"HELLO WORLD\"\nKeyword: \"CIPHER\"\nOutput: \"JINQS HMRWP\"\n```\n\n**Generate Morse Audio:**\n```\nInput: \"SOS\"\nOutput: \"... --- ...\" + Audio file\n```\n\n## 📚 Cipher Details\n\n### Self-Inverse Ciphers\nSpecial ciphers that are their own inverse operation:\n\n- **Atbash** - A↔Z, B↔Y, etc.\n- **ROT13** - 13-position rotation\n\n### Historical Significance\n\n- **Polybius Square** - Used in ancient Greece (~150 BC)\n- **Caesar Cipher** - Named after Julius Caesar\n- **Playfair Cipher** - Used in WWI and WWII\n- **Morse Code** - Revolutionized long-distance communication\n\n### Modern Applications\n\n- **Base64** - Email attachments, web data\n- **URL Encoding** - Web form submissions\n- **Hexadecimal** - Programming and debugging\n\n## 🎵 Audio Features\n\n### Morse Code Audio Generation\n\n- **Standard Timing** - ITU-T recommendations\n- **Adjustable Speed** - 5-40 WPM range\n- **Custom Frequency** - 300-1000 Hz tones\n- **Professional Quality** - 44.1kHz WAV output\n\n### Timing Specifications\n\n- Dot: 1 unit\n- Dash: 3 units\n- Symbol gap: 1 unit\n- Letter gap: 3 units\n- Word gap: 7 units\n\n## 📖 Educational Content\n\n### Interactive Learning\n\n- **How-to Guides** - Step-by-step cipher explanations\n- **Visual Examples** - Rail fence patterns, Playfair grids\n- **Reference Tables** - Quick lookup for all ciphers\n- **Historical Context** - Learn the origins and uses\n\n### Self-Inverse Explanation\n\nUnderstanding why some ciphers decode themselves:\n\n- Mathematical properties\n- Practical applications\n- Historical examples\n\n\n## 🤝 Contributing\n\nWe welcome contributions! Here's how you can help:\n\n### Adding New Ciphers\n\n1. **Create cipher functions** - Follow existing patterns\n2. **Add to main interface** - Update the selectbox\n3. **Include documentation** - Add educational content\n4. **Test thoroughly** - Ensure proper encoding/decoding\n\n### Bug Reports\n\n- Use GitHub Issues\n- Include steps to reproduce\n- Provide system information\n\n### Feature Requests\n\n- Describe the use case\n- Explain the expected behavior\n- Consider educational value\n\n## 📊 Statistics\n\n```\nTotal Ciphers: 14\n├── Historical: 6\n├── Modern: 5\n└── Self-Inverse: 2\n\nLines of Code: ~1,000+\nEducational Features: 15+\nAudio Features: 5\n```\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 👥 Authors\n\n- **clueNA** - Initial work and development\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcluena%2Fcipher-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcluena%2Fcipher-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcluena%2Fcipher-master/lists"}