Skip to content

CLI based encryption and decryption tool. AES-256.

License

Notifications You must be signed in to change notification settings

OnniVirtanen/python-file-encryption-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 

Repository files navigation

The program is capable of both file encryption and file decryption and is accessed through a command line interface.
This has the support for every filetype since the bits of the file are encrypted. For example you could encrypt a video, text or an image file.

The program uses Crypto.Cipher library.

Pycryptodome is needed in order to run the program. Do the following command in terminal.
pip install pycryptodome

To encrypt the file "hello.txt" in your current directory, use the following commands:

  1. run the program.
    $ python3 main.py

  2. the program asks whether to encrypt or decrypt.
    $ E

  3. choose the file name
    $ hello.txt

  4. Do you want the key saved to a txt file in your current directory.
    $ Y

  5. File named "enc_hello.txt" is in your current directory.\

image


to decrypt a file "enc_hello.txt" in your current directory.\

  1. run the program
    $ python3 main.py

  2. the program asks whether to encrypt or decrypt.
    $ D

  3. choose the file name.
    $ enc_hello.txt

  4. Input key: (use your own key).
    $ b779eaa0d589ff1572f51560e0365180

  5. File named "dec_hello.txt" is in your current directory.\

image

Releases

No releases published

Packages

No packages published

Languages