Amazing-Python-Scripts

Форк
0

README.md

File Encrypter

This is a command-line interface (CLI) tool that provides secure file encryption and decryption functionalities. The tool allows users to encrypt sensitive files using a strong encryption algorithm, making the contents unreadable to unauthorized individuals. It also enables users to decrypt encrypted files, restoring them to their original state.

Install Dependencies

  • Step 1 : Clone the Repository
  • Step 2 : Change directory to File-Encrypter
cd Amazing-Python-Scripts/File-Encrypter
  • Step 3: run the command
pip install -r requirements.txt

Usage

  • Create a file with the content you want to encrypt in the same directory as the script, the run -
python script.py <file_name> encrypt
  • Congratulations ! The file is encrypted. You would notice that your original file is gone and replaced with a .encrypted file of the same name. To decrypt it run -
python script.py <file_name.encrypted> decrypt
  • For more info, run this -
python script.py --help

secret.key

This is a crucial file generated automatically when you first encrypt your file. It contained the main Encryption Key. It needs to be present in the same folder too. If you're really planning to hide some important data, better move this file somewhere else. But dont lose it.

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.