{"id":20609749,"url":"https://github.com/brunocampos01/encrypt-file","last_synced_at":"2025-09-01T10:02:41.836Z","repository":{"id":45850964,"uuid":"299824823","full_name":"brunocampos01/encrypt-file","owner":"brunocampos01","description":":lock: :page_with_curl: CLI to encrypt or decrypt files with only one command.","archived":false,"fork":false,"pushed_at":"2022-02-09T09:20:19.000Z","size":79,"stargazers_count":17,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T02:51:15.621Z","etag":null,"topics":["aes","aes-encryption","aes-gcm","decrypt","decryption","encrypt","encryption","encryption-decryption","pbkdf2","pip","python","security","security-tools","sha256"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/encrypt-file/","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/brunocampos01.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}},"created_at":"2020-09-30T06:10:48.000Z","updated_at":"2024-03-15T15:59:34.000Z","dependencies_parsed_at":"2022-09-27T10:50:41.563Z","dependency_job_id":null,"html_url":"https://github.com/brunocampos01/encrypt-file","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunocampos01%2Fencrypt-file","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunocampos01%2Fencrypt-file/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunocampos01%2Fencrypt-file/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brunocampos01%2Fencrypt-file/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brunocampos01","download_url":"https://codeload.github.com/brunocampos01/encrypt-file/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923768,"owners_count":21183953,"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-encryption","aes-gcm","decrypt","decryption","encrypt","encryption","encryption-decryption","pbkdf2","pip","python","security","security-tools","sha256"],"created_at":"2024-11-16T10:14:22.435Z","updated_at":"2025-09-01T10:02:41.804Z","avatar_url":"https://github.com/brunocampos01.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :page_with_curl:\t_Encrypt File_ :lock: \n[![Python 3](https://img.shields.io/badge/Python-3-blue.svg)](https://www.python.org/downloads/release/python-381/)\n![License](https://img.shields.io/badge/Code%20License-MIT-blue.svg)\n\nCLI to encrypt or decrypt files with only one command\n```bash\n                                    __     _____ __   \n  ___  ____  ____________  ______  / /_   / __(_) /__ \n / _ \\/ __ \\/ ___/ ___/ / / / __ \\/ __/  / /_/ / / _ \\\n/  __/ / / / /__/ /  / /_/ / /_/ / /_   / __/ / /  __/\n\\___/_/ /_/\\___/_/   \\__, / .___/\\__/  /_/ /_/_/\\___/ \n                    /____/_/                          \n\nEncrypt or decrypt files with ONLY ONE COMMAND \n----------------------------------------------------------------------\nPARAMETERS\nfunc:\t\tencrypt\npassword:\t123456\nfile_path:\ttests/plain_text.txt\n\nEncrypting ...\nEncrypted file at tests/plain_text.txt.enc\nExecution time: 0.01 seconds                        \n```\nThe _encrypt file_ is a **CLI** for encrypting and decrypting files.\n\n## Why should I use the _encrypt file_?\n- **No Code**: When there is no need to code something you can simply use _encrypt file_.\n- **Abstraction of cryptographic algorithms**: you don't need to know what goes on behind the scenes in _encrypt file_ (but if you want, just see it on github).\n\n## Requirements\nThis project is tested with:\n\n| Requisite      | Version  |\n|----------------|----------|\n| Python         | 3.8.10   |\n| Pip            | 21.2.4   |\n\n## Install\n```sh\npip install encrypt-file --prerelease=allow\n```\n\n## Usage\n- :lock: Encrypt :lock:\n```bash\nencrypt-file \\\n          --func encrypt \\\n          --file plain_text.txt \\\n          --password 123456\n```\n\n- :unlock: Decrypt :unlock:\n```bash\nencrypt-file \\\n          --func decrypt \\\n          --file plain_text.txt.enc \\\n          --password 123456\n```\n\n## What is the security level?\n- Even using low-quality passwords, _encrypt file_ tries to make things as secure as possible because it is implemented using **PBKDF2** key deviation with SHA256 hash, a 16-bit random salt and 10,000 rounds.\n\n---\n\n\u003cp  align=\"center\"\u003e\n\t\u003cbr/\u003e\n\t\u003ca href=\"mailto:brunocampos01@gmail.com\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/brunocampos01/brunocampos01/blob/main/images/email.png\" width=\"30\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://stackoverflow.com/users/8329698/bruno-campos\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/brunocampos01/brunocampos01/blob/main/images/stackoverflow.png\" width=\"30\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://www.linkedin.com/in/brunocampos01\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/brunocampos01/brunocampos01/blob/main/images/linkedin.png\" width=\"30\"\u003e\n\t\u003c/a\u003e\n\t\u003ca href=\"https://github.com/brunocampos01\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/brunocampos01/brunocampos01/blob/main/images/github.png\" width=\"30\"\u003e\u003c/a\u003e\n\t\u003ca href=\"https://medium.com/@brunocampos01\" target=\"_blank\"\u003e\u003cimg src=\"https://github.com/brunocampos01/brunocampos01/blob/main/images/medium.png\" width=\"30\"\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunocampos01%2Fencrypt-file","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrunocampos01%2Fencrypt-file","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrunocampos01%2Fencrypt-file/lists"}