{"id":23191212,"url":"https://github.com/ketanmehra003/silent-key","last_synced_at":"2025-04-05T06:43:21.608Z","repository":{"id":264871147,"uuid":"894533602","full_name":"ketanmehra003/Silent-Key","owner":"ketanmehra003","description":"A command-line tool designed to provide multi-layered image security by combining advanced encryption (ChaCha20) and custom steganography techniques. This project enables secure image transmission and storage, making it ideal for use cases in defense, privacy protection, and digital content management.","archived":false,"fork":false,"pushed_at":"2024-11-26T15:10:57.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T14:31:06.783Z","etag":null,"topics":["command-line-tool","cryptography","cybersecurity","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/ketanmehra003.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-26T14:21:27.000Z","updated_at":"2024-11-26T15:12:51.000Z","dependencies_parsed_at":"2024-11-26T15:43:56.148Z","dependency_job_id":null,"html_url":"https://github.com/ketanmehra003/Silent-Key","commit_stats":null,"previous_names":["ketanmehra003/silent-key"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ketanmehra003%2FSilent-Key","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ketanmehra003%2FSilent-Key/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ketanmehra003%2FSilent-Key/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ketanmehra003%2FSilent-Key/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ketanmehra003","download_url":"https://codeload.github.com/ketanmehra003/Silent-Key/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247299790,"owners_count":20916186,"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":["command-line-tool","cryptography","cybersecurity","python3"],"created_at":"2024-12-18T12:16:35.324Z","updated_at":"2025-04-05T06:43:21.585Z","avatar_url":"https://github.com/ketanmehra003.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Silent Key\r\n\r\nA command-line tool designed to provide multi-layered image security by combining advanced encryption (ChaCha20) and custom steganography techniques. This project enables secure image transmission and storage, making it ideal for use cases in defense, privacy protection, and digital content management.  \r\n\r\n---\r\n\r\n## **Features**  \r\n- **Image Encryption**: Secure images using ChaCha20 encryption, resulting in an encrypted image and a key file.  \r\n- **Image Decryption**: Decrypt images with the corresponding key file to restore the original image.  \r\n- **Steganography**: Hide an image within another using a custom LSB-based embedding algorithm.  \r\n- **Extreme Encryption Mode**:  \r\n  - Divide images into quadrants and encrypt each with a unique key.  \r\n  - Reassemble encrypted quadrants into a single image with a consolidated key file.  \r\n\r\n---\r\n\r\n## **Use Cases**  \r\n- **High-Security Environments**: Protect sensitive images during transmission or storage in military and defense scenarios.  \r\n- **Privacy Advocates**: Secure personal data from unauthorized access.  \r\n- **Content Creators**: Protect intellectual property from theft or misuse.  \r\n\r\n---\r\n\r\n## **Installation**  \r\n1. Clone the repository:\r\n   ```bash\r\n   git clone https://github.com/your-username/hybrid-image-security-tool.git\r\n   cd hybrid-image-security-tool\r\n   ```\r\n\r\n2. Install required dependencies:\r\n   ```bash\r\n   pip install -r requirements.txt\r\n   ```\r\n## **Usage**\r\n### **Encrypt an Image**\r\n   Apply plain encryption\r\n   ```bash\r\n   python tool.py encrypt --input_file \u003cinput_image\u003e --output_file \u003coutput_image\u003e --key_file \u003ckey_file\u003e\r\n   ```\r\n\r\n   Use hybrid function of encryption and steganography\r\n   ```bash\r\n   python tool.py encrypt --input_file \u003cinput_image\u003e --output_file \u003coutput_image\u003e --key_file \u003ckey_file\u003e --cover_file \u003ccover_image\u003e\r\n   ```\r\n\r\n   Use extreme encryption\r\n   ```bash\r\n   python tool.py encrypt --input_file \u003cinput_image\u003e --output_file \u003coutput_image\u003e --key_file \u003ckey_file\u003e --extreme\r\n   ```\r\n\r\n### **Decrypt an Image**\r\n   For plain decryption\r\n   ```bash\r\n   python tool.py decrypt --input_file \u003cencrypted_image\u003e --output_file \u003cdecrypted_image\u003e --key_file \u003ckey_file\u003e\r\n   ```\r\n\r\n   For hybrid encrypted images\r\n   ```bash\r\n   python tool.py decrypt --input_file \u003cencrypted_image\u003e --output_file \u003cdecrypted_image\u003e --key_file \u003ckey_file\u003e --reveal_file\r\n   ```\r\n\r\n   For extreme encrypted images\r\n   ```bash\r\n   python tool.py decrypt --input_file \u003cencrypted_image\u003e --output_file \u003cdecrypted_image\u003e --key_file \u003ckey_file\u003e --extreme\r\n   ```\r\n\r\n### **Steganography (Hide an Image)**\r\n   ```bash\r\n   python tool.py hide --cover_file \u003ccover_image\u003e --input_file \u003cimage_to_hide\u003e --output_file \u003coutput_image\u003e\r\n   ```\r\n\r\n### **Steganography (Reveal an Image)**\r\n   ```bash\r\n   python tool.py reveal --input_file \u003cimage_to_hide\u003e --output_file \u003coutput_image\u003e\r\n   ```\r\n\r\n## **Dependencies**\r\n- **Python Libraries:**\r\n  - ```Pillow```: For image handling.\r\n  - ```Numpy```: For efficient computations.\r\n  - ```Cryptography```: For ChaCha20 encryption.\r\n  - ```argparse```: For command-line argument parsing.\r\n\r\n## **Future Enhancements**\r\n1. Encrypting image parts using random lines with varying slopes for more complex partitioning.\r\n2. Using object detection to prioritize encryption of critical image areas.\r\n\r\n## **Contributing**\r\n   Contributions are welcome! Feel free to fork the repository and submit a pull request for review.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fketanmehra003%2Fsilent-key","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fketanmehra003%2Fsilent-key","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fketanmehra003%2Fsilent-key/lists"}