{"id":24113524,"url":"https://github.com/ezhil56x/file-encryption-cli","last_synced_at":"2026-06-11T19:31:19.400Z","repository":{"id":186397062,"uuid":"675110885","full_name":"ezhil56x/file-encryption-cli","owner":"ezhil56x","description":"File Encryption is command-line tool used to encrypt and decrypt files using AES and RSA encryption algorithms","archived":false,"fork":false,"pushed_at":"2023-08-05T20:16:44.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-13T15:24:36.818Z","etag":null,"topics":["cli","cli-tools","command-line-tool","encryption-decryption","file-encryption","file-encryption-python","python-encryption"],"latest_commit_sha":null,"homepage":"","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/ezhil56x.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,"governance":null}},"created_at":"2023-08-05T20:16:23.000Z","updated_at":"2025-04-06T11:13:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ac6bf72-777b-480e-86ea-fc071c0ccd89","html_url":"https://github.com/ezhil56x/file-encryption-cli","commit_stats":null,"previous_names":["ezhil56x/file-encryption-cli"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ezhil56x/file-encryption-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezhil56x%2Ffile-encryption-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezhil56x%2Ffile-encryption-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezhil56x%2Ffile-encryption-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezhil56x%2Ffile-encryption-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ezhil56x","download_url":"https://codeload.github.com/ezhil56x/file-encryption-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ezhil56x%2Ffile-encryption-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34215253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","cli-tools","command-line-tool","encryption-decryption","file-encryption","file-encryption-python","python-encryption"],"created_at":"2025-01-11T04:03:44.291Z","updated_at":"2026-06-11T19:31:19.289Z","avatar_url":"https://github.com/ezhil56x.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Encryption CLI\n\n## Description\n\nFile Encryption is command-line tool used to encrypt and decrypt files using AES and RSA encryption algorithms. It is written in Python and uses the `PyCryptoDome` library.\n\n## Requirements\n\n- Python 3.6 or above\n- `PyCryptoDome` library\n\n## Installation\n\n1. Install pycryptodome library\n\n```\npip install pycryptodome\n```\n\n2. Clone the repository\n\n```\ngit clone https://github.com/ezhil56x/file-encryption-cli.git\n```\n\n3. Go to file-encryption-cli directory\n\n```\ncd file-encryption-cli\n```\n\n4. Take a look at the help menu to see the usage of the tool\n\n```\npython file_encrypt.py --help\n```\n\n```\npython file_decrypt.py --help\n```\n\n## Usage\n\n### AES Encryption\n\n#### Encrypting a File\n\nTo encrypt a file, using AES encryption, use the following command\n\n```\npython file_encrypt.py --file \u003cfile\u003e --algorithm AES --key \u003ctext\u003e\n```\n\n#### Decrypting a File\n\nTo decrypt a file, using AES encryption, use the following command\n\n```\npython file_decrypt.py --file \u003cfile\u003e --algorithm AES --key \u003ctext\u003e\n```\n\n### RSA Encryption\n\nFor RSA encryption, you need to generate public and private keys. You can use the `key_generator.py` script to generate the keys. And the keys will be stored in `public.pem` and `private.pem` files. You should move these files to the same directory as the `file_encrypt.py` and `file_decrypt.py` scripts.\n\n#### Encrypting a File\n\nTo encrypt a file, using RSA encryption, use the following command\n\n```\npython file_encrypt.py --file \u003cfile\u003e --algorithm RSA --key public.pem\n```\n\n#### Decrypting a File\n\nTo decrypt a file, using RSA encryption, use the following command\n\n```\npython file_decrypt.py --file \u003cfile\u003e --algorithm RSA --key private.pem\n```\n\n#### Generating public and private keys\n\nTo generate public and private keys, go to RSA folder and run the following command\n\n```\npython key_generator.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezhil56x%2Ffile-encryption-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fezhil56x%2Ffile-encryption-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fezhil56x%2Ffile-encryption-cli/lists"}