{"id":26332991,"url":"https://github.com/yashokuu/imgcrypt","last_synced_at":"2025-03-15T23:36:49.859Z","repository":{"id":275386659,"uuid":"925937121","full_name":"yashokuu/ImgCrypt","owner":"yashokuu","description":"This tool allows you to encrypt and decrypt images using a keyword-based encryption method. The encryption adds random noise to the image and embeds text into the noise, while the decryption restores the image using the same keyword.","archived":false,"fork":false,"pushed_at":"2025-02-09T07:42:39.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T16:33:24.162Z","etag":null,"topics":["encrypter","encryption","hide","image","image-encryption","locker","private"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yashokuu.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","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-02T05:36:37.000Z","updated_at":"2025-02-02T05:42:55.000Z","dependencies_parsed_at":"2025-02-12T16:35:13.648Z","dependency_job_id":"31f34d67-8c29-4c86-ab85-a79d0e4d9f36","html_url":"https://github.com/yashokuu/ImgCrypt","commit_stats":null,"previous_names":["siyam-yas/imgcrypt","yashokuu/imgcrypt"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashokuu%2FImgCrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashokuu%2FImgCrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashokuu%2FImgCrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yashokuu%2FImgCrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yashokuu","download_url":"https://codeload.github.com/yashokuu/ImgCrypt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806060,"owners_count":20350773,"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":["encrypter","encryption","hide","image","image-encryption","locker","private"],"created_at":"2025-03-15T23:36:49.163Z","updated_at":"2025-03-15T23:36:49.841Z","avatar_url":"https://github.com/yashokuu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=25\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=50\u0026lines=ImgCrypt\" width=\"450\"/\u003e\n---\n\nThis tool allows you to encrypt and decrypt images using a keyword-based encryption method. The encryption adds random noise to the image and embeds text into the noise, while the decryption restores the image using the same keyword.\n\n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=20\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=50\u0026lines=Features\" width=\"450\"/\u003e\n---\n- Encrypt images with a password/keyword.\n- Embed custom text into the encrypted image.\n- Decrypt encrypted images using the same keyword.\n\n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=20\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=50\u0026lines=Requirements\" width=\"450\"/\u003e\n---\n- Python 3.x\n- OpenCV (`cv2`)\n- NumPy\n- Cryptography library (`cryptography`)\n\n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=20\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=50\u0026lines=Setup\" width=\"450\"/\u003e\n---\n\n1. Clone or download the repository.\n2. Install the required dependencies:\n   ```bash\n   pip install opencv-python numpy cryptography\n   ```\n\n3. Make sure you have an image file (e.g., `.png`, `.jpg`) to encrypt.\n\n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=20\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=50\u0026lines=Usage\" width=\"450\"/\u003e\n---\n\n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=15\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=30\u0026lines=Running+the+program\" width=\"450\"/\u003e\n---\n\n1. Open a terminal and navigate to the folder containing the `imgCrypt.py` file.\n2. Run the script:\n   ```bash\n   python imgCrypt.py\n   ```\n\n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=20\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=50\u0026lines=Options\" width=\"450\"/\u003e\n---\n- **Encrypt Image:**\n  - Provide the path of the image to encrypt.\n  - Enter a password/keyword to encrypt the image.\n  - The tool will generate an encrypted image file and a noise image with embedded text.\n  \n- **Decrypt Image:**\n  - Provide the path of the encrypted file (not the noise image).\n  - Enter the same password/keyword used during encryption.\n  - The tool will decrypt and save the original image.\n\n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=15\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=30\u0026lines=Example+Commands\" width=\"450\"/\u003e\n---\n\n#### Encrypting an Image\n```bash\nEnter input image path: /path/to/image.jpg\nEnter encryption keyword: mysecretkey\nEnter output file path (without extension): /path/to/encrypted_image\nEnter text to embed in encrypted image: Any text you want\n```\n\n#### Decrypting an Image\n```bash\nEnter encrypted file path (without _noise.png): /path/to/encrypted_image\nEnter decryption keyword: mysecretkey\nEnter output image path: /path/to/decrypted_image.png\n```\n\n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=20\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=50\u0026lines=Notes\" width=\"450\"/\u003e\n---\n- Always remember the keyword used for encryption; it's required for decryption.\n- The noise image (`_noise.png`) is generated for visual effect and contains embedded text.\n  \n\u003ca id=\"styles\"\u003e\u003c/a\u003e  \n\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Lexend+Giga\u0026size=20\u0026pause=1000\u0026color=CCA9DD\u0026vCenter=true\u0026width=435\u0026height=50\u0026lines=License\" width=\"450\"/\u003e\n---\nThis project is licensed under the YASL License - see the [License](License.md) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashokuu%2Fimgcrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyashokuu%2Fimgcrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyashokuu%2Fimgcrypt/lists"}