Skip to content

Latest commit

 

History

History
120 lines (96 loc) · 5.47 KB

README.md

File metadata and controls

120 lines (96 loc) · 5.47 KB

GenEncryption

is a versatile encryption utility designed for securely encrypting and decrypting text data. It supports two encryption algorithms: a custom Simple substitution cipher and the industry-standard Fernet encryption.

EN

GenEncryption is a versatile encryption tool designed to provide secure encryption and decryption of text data. The application supports two main algorithms: a custom Simple substitution cipher and the industry-standard Fernet encryption.

Features

  • Multiple Encryption Algorithms: Choose between a custom Simple algorithm and Fernet encryption.
  • Key Generation: Easily generate and save encryption keys.
  • Key Management: Load and manage saved keys.
  • User-Friendly Interface: Intuitive GUI for easy navigation and operation.

Requirements

  • Python 3.x
  • Libraries: tkinter, cryptography, os, random, base64

Installation

  1. Clone the repository:
git clone https://github.com/geniuszlyy/GenEncryption.git
cd GenEncryption
  1. Install dependencies:
    Install the required Python libraries using pip:
pip install cryptography

Usage

  1. Run the Application:
    Start the application by running the main.py script:
python GenEncryption.py
  1. Generate Keys:
  • Navigate to the "Keygen" tab.
  • Select the desired encryption algorithm (Simple or Fernet).
  • Click "Generate" to create a new key.
  • Enter a name for the key and save it.
  1. Encrypt/Decrypt Data:
  • Navigate to the "Encrypter" tab.
  • Select a saved key or enter a key manually.
  • Enter the data to be encrypted or decrypted.
  • Click "Encrypt" or "Decrypt" to process the data.

Key Storage

Generated keys are stored in the keys/ directory. Ensure that this directory is kept secure to maintain the confidentiality of your encrypted data.

Example

Simple:

image

image

image

Fernet:

image

image

RU

GenEncryption — это универсальный инструмент для шифрования, предназначенный для обеспечения безопасного шифрования и дешифрования текстовых данных. Программа поддерживает два основных алгоритма: собственный алгоритм Simple и стандартизированный шифр Fernet.

Возможности

  • Множественные алгоритмы шифрования: Выбор между собственным алгоритмом Simple и шифром Fernet.
  • Генерация ключей: Легкое создание и сохранение ключей шифрования.
  • Управление ключами: Загрузка и управление сохраненными ключами.
  • Интуитивный интерфейс: Удобный графический интерфейс для простоты использования.

Требования

  • Python 3.x
  • Библиотеки: tkinter, cryptography, os, random, base64

Установка

  1. Клонирование репозитория:
git clone https://github.com/geniuszlyy/GenEncryption.git
cd GenEncryption
  1. Установка зависимостей:
    Установите необходимые библиотеки Python с помощью pip:
pip install cryptography

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

  1. Запуск приложения:
    Запустите приложение, выполнив скрипт main.py:
python GenEncryption.py
  1. Генерация ключей:
  • Перейдите на вкладку "Keygen".
  • Выберите желаемый алгоритм шифрования (Simple или Fernet).
  • Нажмите "Generate" для создания нового ключа.
  • Введите имя для ключа и сохраните его.
  1. Шифрование/Дешифрование данных:
  • Перейдите на вкладку "Encrypter".
  • Выберите сохраненный ключ или введите ключ вручную.
  • Введите данные для шифрования или дешифрования.
  • Нажмите "Encrypt" или "Decrypt" для обработки данных.

Хранение ключей

Сгенерированные ключи хранятся в каталоге keys/. Убедитесь, что этот каталог надежно защищен для сохранения конфиденциальности ваших данных.

Пример

Simple:

image

image

image

Fernet:

image

image