Skip to content

krzysiek581234/BSK-Electronic-Signature

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔒 Secure File Management System

📖 Overview

This Python application provides a comprehensive solution for secure file encryption, decryption, and digital signature verification using RSA encryption and SHA-256 hashing. It ensures data security and integrity through key functionalities such as RSA key pair generation, file encryption and decryption, and digital signing and verification.

🚀 Key Features

  • 🔑 RSA Key Pair Generation: Generates a pair of RSA keys (private and public) with a key size of 4096 bits. The private key is encrypted with a user-defined password for added security.
  • 🗄️ File Encryption: Encrypts files using the recipient's public key, ensuring only the intended recipient can decrypt and access the file.
  • 🔓 File Decryption: Decrypts files using the private key, protected by a password.
  • ✒️ Digital Signing: Creates a digital signature for a file by hashing the file content using SHA-256 and encrypting the hash with the user's private key. The digital signature is stored in an XML file.
  • ✔️ Signature Verification: Verifies the integrity and authenticity of a signed file by comparing the decrypted hash from the digital signature with a newly generated hash of the received file.

🛠️ Installation

🐍 Creating Conda Environment from environment.yml

  1. Ensure you have Conda installed. You can download it from Conda's official website.

  2. Create a new environment using the provided environment.yml file:

    conda env create -f environment.yml
  3. Activate the newly created environment:

    conda activate BSK

🖥️ Preview of the App

Preview of the APP

🔑 Generate Private and Public Key

Generate Keys

🔐 Encryption and Checking the Signature

  • Must have public key

Encryption and Signature

💾 Access This Section with Private Key

  • No private key

No Private Key

  • Pendrive with private key inserted:

Private Key Inserted

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%