Skip to content
/ Shz Public

Python program for file encryption and decryption.

Notifications You must be signed in to change notification settings

zbirow/Shz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Requirements:

pip install cryptography

Usage:

python Run.py -en input_file output_file
python Run.py -de input_file output_file
python Run.py -en input_file output_file -k key
python Run.py -de input_file output_file -k key

Example:

python Run.py -en file.txt file.xyz
python Run.py -de file.xyz file.txt
python Run.py -en file.txt file.xyz -k 12345678901234567890123456789012
python Run.py -de file.xyz file.txt -k 12345678901234567890123456789012

Info:

The program uses AES-256 encryption, the key is generated randomly with each encryption. After encryption, the console gives you a key that you need to copy and save. Option -k, --key must have 32 characters, Additionally, the program provides a second key, both keys work for decryption. During decryption, the console will ask you for the key that was used to encrypt the file. You can encrypt any file you want, even a photo. And save to whatever file extension you want: .xyz, .zzzz, .dktvq, .file, etc.

About

Python program for file encryption and decryption.

Resources

Stars

Watchers

Forks

Languages