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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%