{"id":20478935,"url":"https://github.com/lilsuperuser/safecrypt","last_synced_at":"2026-05-21T16:15:59.680Z","repository":{"id":258800129,"uuid":"872413168","full_name":"LilSuperUser/SafeCrypt","owner":"LilSuperUser","description":"A python-based utility tool for secure encryption and file management","archived":false,"fork":false,"pushed_at":"2025-09-07T20:32:23.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-07T22:19:52.138Z","etag":null,"topics":["command-line-tool","encryption-decryption","file-shredding","python3","security"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LilSuperUser.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-10-14T11:53:14.000Z","updated_at":"2025-09-07T20:32:26.000Z","dependencies_parsed_at":"2024-10-20T21:24:34.657Z","dependency_job_id":null,"html_url":"https://github.com/LilSuperUser/SafeCrypt","commit_stats":null,"previous_names":["lilsuperuser/safecrypt"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LilSuperUser/SafeCrypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LilSuperUser%2FSafeCrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LilSuperUser%2FSafeCrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LilSuperUser%2FSafeCrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LilSuperUser%2FSafeCrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LilSuperUser","download_url":"https://codeload.github.com/LilSuperUser/SafeCrypt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LilSuperUser%2FSafeCrypt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33307088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-21T12:23:38.849Z","status":"ssl_error","status_checked_at":"2026-05-21T12:22:11.673Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["command-line-tool","encryption-decryption","file-shredding","python3","security"],"created_at":"2024-11-15T15:39:56.055Z","updated_at":"2026-05-21T16:15:59.674Z","avatar_url":"https://github.com/LilSuperUser.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SafeCrypt\nA Python-based utility tool for secure encryption and file management.\n\n## Overview\nThis Python script provides functionality to encrypt and decrypt:\n- Messages\n- Files\n- Directories\n\nusing **Fernet symmetric encryption** from the `Cryptography` library.\n\nIt also provides functionality to shred files and directories.\n\n## Features\n- Encrypt/Decrypt text messages.\n- Encrypt/Decrypt individual files.\n- Encrypt/Decrypt all the files in a directory.\n- Shred a file/directories so that it can't be recovered.\n- Option to generate new encryption keys or load existing ones.\n- Simple Command-line-interface.\n- ANSI color-coded terminal output for better UX.\n- Warning for existing files before overwriting them.\n- Optional output files for encrypted/decrypted files.\n- Log information about encrypted/decrypted files and directories\n- Error handling and user friedly prompts.\n\n## Requirements\nTo use this script you will need these installed on your system:\n- Python 3.x\n- `cryptography` Library for encryption and decryption.\n\n## Usage\n### Running the script:\nPlease use a terminal which can show colors as they can typically support `ANSI escape codes`\n```\ngit clone https://github.com/LilSuperUser/SafeCrypt.git\ncd SafeCrypt\npip install -r requirements.txt\nchmod +x ./safecrypt.py\n./safecrypt.py\n```\n### Menu options:\n1. Encrypt a message:\n    Enter a message and the script will encrypt it using loaded/generated key.\n\n2. Encrypt a file:\n    Provide the name of the file/path to the file to encrypt it in place/save to a new file.\n\n3. Encrypt a directory:\n    Provide the path to a directory and all files within it will be encrypted but Sub-directories will be skipped.\n\n4. Decrypt a message:\n    Enter an encrypted message and the script will decrypt it using the key you provide.\n\n5. Decrypt a file:\n    Provide the name of the file/path to the file to decrypt it in place/save to a new file.\n\n6. Decrypt a directory:\n    Provide the path to an encrypted directory and all files within it will be decrypted.\n\n7. Shred a file:\n    Shred a file ==\u003e Delete a file such that it can't be recovered.\n\n8. Shred a directory:\n    Shred all files and sub directories present in a directory.\n\n### Key management:\nThe script currently provides the following key management options:\n- Generate a new key:\n    Generates a new key and saves it to a file of user's choice.\n- Load an existing key:\n    Loads an existing eky from a file fo user's choice.\n\n**Important**: Make sure to store your keys securely, as losing them will make it impossible to decrypt your encrypted messages or files.\n\n## Planned Features\n- Add a GUI.\n- Progress bar for directory encryption/decryption.\n- Multi-threaded file processing for faster encryption/decryption.\n- Password-based encryption (PBKDF2).\n- Compression of files before encryption.\n- File integrity verification using hash checks.\n\n## License\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilsuperuser%2Fsafecrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flilsuperuser%2Fsafecrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flilsuperuser%2Fsafecrypt/lists"}