Skip to content

tanvi25-ai/Post-Quantum-Secure-File-Transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Post-Quantum Secure File Transfer System

Overview

This project implements a complete Post-Quantum Cryptography (PQC) secure file transfer system using NIST-standardized algorithms.

It demonstrates how quantum-safe cryptography can be deployed on classical infrastructure.


Algorithms Used

Post-Quantum Key Exchange

CRYSTALS-Kyber (ML-KEM-768)

Post-Quantum Digital Signatures

CRYSTALS-Dilithium (ML-DSA-65)

Symmetric Encryption

AES-GCM (Hybrid encryption model)


Features

  • PQC-based key encapsulation
  • PQC digital signature generation and verification
  • Secure file encryption and decryption
  • End-to-end secure transfer simulation
  • Performance comparison with RSA

Tech Stack

  • Python
  • liboqs (Open Quantum Safe)
  • Cryptography library
  • Google Colab (Linux environment)

Why This Matters

Classical algorithms like RSA and ECC are vulnerable to quantum attacks (Shor’s algorithm).
This system demonstrates a quantum-safe alternative ready for future security needs.


How to Run

This project is implemented in Google Colab.

1. Install dependencies

pip install -r requirements.txt

2. Open the notebook

PQC_implementation.ipynb

3. Run all cells sequentially to execute:

  • Post-Quantum key exchange
  • Digital signature generation and verification
  • Secure file encryption and decryption
  • Performance comparison with RSA

Note: The project was developed and tested in a Linux-based Google Colab environment.

Demo Output

image image

Sample Results

  • Shared secret match = True
  • Signature verification = Valid
  • File encrypted and decrypted successfully
  • Performance comparison with RSA completed

About

Implementation of Post-Quantum Cryptography using ML-KEM and ML-DSA with secure file transfer and performance benchmarking.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors