{"id":25879818,"url":"https://github.com/constantin9845/file-lock","last_synced_at":"2025-07-01T14:06:29.211Z","repository":{"id":258954075,"uuid":"875108641","full_name":"constantin9845/file-lock","owner":"constantin9845","description":"Encrypt Files and Directories","archived":false,"fork":false,"pushed_at":"2025-06-20T15:30:55.000Z","size":778,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-20T15:37:53.006Z","etag":null,"topics":["aes","aes-128","aes-192","aes-256","aes-cbc","aes-ecb-mode","aes-encryption","cross-platform","directories","files","linux","macos","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","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/constantin9845.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,"zenodo":null}},"created_at":"2024-10-19T05:51:03.000Z","updated_at":"2025-06-20T15:30:58.000Z","dependencies_parsed_at":"2025-06-09T16:25:04.412Z","dependency_job_id":"d63d5980-b7cc-4af0-bbef-e8b50a2259e2","html_url":"https://github.com/constantin9845/file-lock","commit_stats":null,"previous_names":["constantin9845/file-lock"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/constantin9845/file-lock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin9845%2Ffile-lock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin9845%2Ffile-lock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin9845%2Ffile-lock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin9845%2Ffile-lock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/constantin9845","download_url":"https://codeload.github.com/constantin9845/file-lock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/constantin9845%2Ffile-lock/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262978564,"owners_count":23394008,"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":["aes","aes-128","aes-192","aes-256","aes-cbc","aes-ecb-mode","aes-encryption","cross-platform","directories","files","linux","macos","windows"],"created_at":"2025-03-02T13:28:19.035Z","updated_at":"2025-07-01T14:06:29.192Z","avatar_url":"https://github.com/constantin9845.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :lock: **file-lock**  \n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## :page_with_curl: **Program Description**\n\n**file-lock** is a simple CLI tool to **encrypt** and **decrypt** files or directories using AES.\nNow featuring **AES-NI hardware acceleration** and **parallel processing** for **significantly faster performance** on supported CPUs.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## :book: **Features**\n\n- Works on **single files** and **directory trees**.\n- uses **AES-NI intrinsics** for faster encryption (not all CPUs)\n- **Parallel file encryption** dramatically speeds up bulk directory encryption\n- Any file types\n- Optional Authentication Tags\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## :key: **Key Generation**\n\n- The key generation is **cryptographically secure**\n- **Caution** : Too many key generations in a short time --\u003e process can time out.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n## :warning: **Important Details**\n\nAlways follow the following guidelines:\n\n- **Run at least one test round before applying on real data**.  \n  To ensure program functions properly\n\n- **Decrypted files will always replace the ciphertext files**.  \n  Ensure that you have backups of any important data before performing decryption.\n\n- **Authentication Tags and Additional Message File are always deleted when verified**.  \n  For security reasons, it's best to destroy these tags after authentication.\n  \n- **Do not try to open the key file**.  \n  This can corrupt the file and make decryption impossible.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n### :book: **Tutorial**\n\nGetting started with **file-lock**:\n\n```bash\n# Clone project\ngit clone git@github.com:constantin9845/file-lock.git\n\ncd file-lock/\n\n# Compile\nmake\n\n```\n\n\u003cbr\u003e\n\nRun program \n```bash\n./enc #linux/mac\n\n.\\enc.exe #windows\n```\n\n\u003cbr\u003e\n\nDirectory example\n```bash\n# To encrypt everything inside the 'tree1' directory (including all subdirectories):\n\n# Linux/Mac\n./enc /home/username/Documents/tree1/*\n\n\n# Windows\n.\\enc C:\\\\Users\\username\\Documents\\tree1\\\n```\n\n\u003cbr\u003e\n\n\u003cimg src=\"tutorial1.png\" alt=\"Tutorial in terminal\"\u003e\n\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\n## :warning: **Disclaimer**\n\nBy using this program, you acknowledge and agree to the following:\n\n- The author is **not responsible** for any **damaged files** or **data loss** that may occur during encryption or decryption.\n- It is **your responsibility** to ensure that all files and directories are correctly backed up before performing encryption.\n- The program is provided **as-is**, and the author makes no warranties regarding its functionality or safety.\n- **Use at your own risk**. The author is not liable for any loss, damage, or other consequences arising from the use of this program.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\n\nFor support or feedback, feel free to [open an issue](https://github.com/constantin9845/file-lock/issues).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstantin9845%2Ffile-lock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconstantin9845%2Ffile-lock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconstantin9845%2Ffile-lock/lists"}