{"id":17005352,"url":"https://github.com/cbedroid/tezcrypt","last_synced_at":"2026-05-18T11:09:45.761Z","repository":{"id":101937891,"uuid":"212818914","full_name":"cbedroid/TezCrypt","owner":"cbedroid","description":"Python File Encryption program  that encrypt and decrypt your files using AES encryption algorithms. Completely-Secure-Files","archived":false,"fork":false,"pushed_at":"2021-03-15T04:26:26.000Z","size":49,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-13T13:43:35.906Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cbedroid.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-04T13:16:04.000Z","updated_at":"2023-03-09T01:47:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"808b5859-44b7-449f-840c-82496f4cad7f","html_url":"https://github.com/cbedroid/TezCrypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cbedroid/TezCrypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbedroid%2FTezCrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbedroid%2FTezCrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbedroid%2FTezCrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbedroid%2FTezCrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbedroid","download_url":"https://codeload.github.com/cbedroid/TezCrypt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbedroid%2FTezCrypt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-14T04:46:06.638Z","updated_at":"2026-05-18T11:09:45.746Z","avatar_url":"https://github.com/cbedroid.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"TezCrypt\n===========\n\nTezcrypt is an AES encryption python program that can encrypt or decrypt files and folders. It can be used in python or as a cmdline program.\nTezCrypt support  python3+ and is compatible with windows and linux system.\n\n# How to use\n\nFirst we import the module:\n```python\nfrom tezcrypt import Encryptor\n```\n# Python\n## Key\nA password key is required to use this program.\nKey must be 8 to 24 characters long \n- password are case sensitive. \n- Symbols and numbers are supported\n- 8 to 24 characters long ( cmdline only)\n\n## Initialize\n```python\nmykey = \"secretkey\"\ncrypt = Encryptor(key=mykey)\n```\n\nOnce initialized,  method `encrypt()` or `decrypt()` can be called with parameters  'infile' , 'outfile',and  'alter'.\nThe `infile` argument is the name of the file you want to decrypt or encrypt. It must be called (required). The `outfile` argument is optional.It is the name of the file you want save the results. `alter` is also optional, alter argument decrypt or encrypt file name. There are 3 option to pass to alter: 'decrypt','encrypt', False. It is set to False by default.\n\n#### Warning: If the outfile is Not supplied, the infile will be overwritten!\n- infile   -  input file to encrypt or decrypt \n- outfile  -  output file to save the results \n- alter    -  encrypt or decrypt file name  \n\n```python\n\nfrom tezcrypt import Encryptor\nmykey = \"secretkey\"\ncrypt = Encryptor(key=mykey)\n\n#Example : 1\nyour_file = \"important.txt\"\ncrypt.encrypt(infile=your_file)\n#infile will be overwritten\n\n#Example : 2\nyour_file = \"important.txt\"\nnewfile = \"important_encrypted.txt\"\ncrypt.encrypt(infile=your_file, outfile=newfile)\n#infile not overwritten,  newfile will be created\n\n#Example : 3\nyour_file = \"important.txt\"\ncrypt.encrypt(infile=your_file ,alter='encrypt')\n#result: infile --\u003e 437CE4CEBDF566845E60A9C00FD926C4\n#\"important.txt\" overwritten to filename \"437CE4CEBDF566845E60A9C00FD926C4\"\n\n#Example : 4\nyour_file = '437CE4CEBDF566845E60A9C00FD926C4'\ncrypt.decrypt(infile=infile,alter='decrypt')\n#result: 'important.txt'\n# \"filename \"437CE4CEBDF566845E60A9C00FD926C4\" is converted back to \"important.txt\"\n\n```\n\n\n\n\n# Cmdline\n\nTezCrypt can also be used as a cmdline program.\nFor linux distribution, Use **tezcrypt** bash file instead of **tezcrypt.py**.\n\n## cmdline argument \n\n```\n\nusage: tezcrypt.py [-h] [-o OUTFILE] [-k KEY] [-f] [-a] (-e | -d) infile\n\npositional arguments:\n  infile                Input file\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -o OUTFILE, --outfile OUTFILE\n                        Output file\n  -k KEY, --key KEY     key for encryption and decryption\n  -f, --folder          Full folder Encrypt/Decrypt\n  -a, --alter           Encrypt/Decrypt file name\n  -e, --encrypt         Encrypt file\n  -d, --decrypt         Decrypt file\n\n```\n\n## cmdline usage \n```bash\n\nFOR PRIVACY \n# Avoid using argument \"-k --key\" to protect secret password from others!\n# If argument \"-k\" is not passed, then the user will be prompt to enter password. \n\n#To encrypt (Warning! filename will be overwritten)\n$ tezcrypt \u003cfilename\u003e -e  -k \u003csecret_password\u003e\n\n#To decrypt (overwrite infile)\n$ tezcrypt \u003cfilename\u003e  -d  -k \u003csecret_password\u003e\n\n#To encrypt and save to another file\n$ tezcrypt \u003cfilename\u003e -e -o \u003cpath_to_file\u003e -k \u003csecret_password\u003e\n\n#To decrypt and save to another file\n$ tezcrypt \u003cfilename\u003e  -d  -o \u003cpath_to__file\u003e -k \u003csecret_password\u003e\n\n#To encrypt file content and filename (Warning! filename will be overwritten)\n$ tezcrypt \u003cfilename\u003e  -e -a  -k \u003csecret_password\u003e\n\n#To decrypt file content and filename (overwrite infile, and convert filename back to original name)\n$ tezcrypt \u003cfilename\u003e  -d -a  -k \u003csecret_password\u003e\n\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbedroid%2Ftezcrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbedroid%2Ftezcrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbedroid%2Ftezcrypt/lists"}