GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mh97m/Encryptor-Decryptor-Files-Python: This project encrypts all files in a specified directory as many times as desired. Due to the repeated encryption of files, they become completely irretrievable after encryption. It is a simple and powerful tool that will impress you with its fast execution.

BranchesTags
Open more actions menu

Latest commit

 

History

39 Commits
39 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
encrypt_decrypt_files_asyncio.py
encrypt_decrypt_files_asyncio.py
 
 
encrypt_decrypt_files_concurrent.py
encrypt_decrypt_files_concurrent.py
 
 
encrypt_decrypt_files_concurrent_batch.py
encrypt_decrypt_files_concurrent_batch.py
 
 
encrypt_decrypt_files_multiproccess.py
encrypt_decrypt_files_multiproccess.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Encrypte , Decrypt Files

This Code Encrypt and Decrypte files of directory that you gave for several times.

Keys are generate when run encrypt files and stored in key.txt in the same directory of the python file.

Performance

This code wrote with asyncio and threading together for fastest run that ever can make...

In this code, the main bottleneck is the I/O operations of reading and writing files, which is why concurrent.futures is used. However, if the code were doing more CPU-bound tasks, multiprocessing might be a better choice.

Usage

Note

python3 is prefix for execute python files in linux.

py is prefix for execute python files in windows.

Syntax

encrypt_decrypt_files.py [-h] {encrypt,decrypt} directory num_encryption

Encrypt

this is example of encrypting files for 3 time.

python3 encrypt_decrypt_files.py --mode encrypt --dir /home/user/directory --num-enc 3 --new-key true

Decrypt

this is example of decrypting files for 3 time.

python3 encrypt_decrypt_files.py --mode decrypt --dir /home/user/directory

Note

For decrypt files you must enter exact the number time that you encrypt files.

-Python encryptor-File encryption-Encrypting files-Encrypt using python-Encrypt files using python-Python decryptor-File decryption-Decrypting files-Decrypt using python-Decrypt files using python

About

This project encrypts all files in a specified directory as many times as desired. Due to the repeated encryption of files, they become completely irretrievable after encryption. It is a simple and powerful tool that will impress you with its fast execution.

Topics

argparseasynchronousasyncioconcurrentconcurrent-programmingcryptographydecryptionencryptionfernetmulti-encryptionmultiprocessingmultithreadingpythonpython-scriptpython3

Resources

Readme
GPL-3.0 license
Activity

Stars

2 stars

Watchers

1 watching

Forks

6 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.