Skip to content

shashank1694/crypto-ass2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure Centralized EV Charging Payment Gateway

Overview

This project simulates a secure EV charging payment system involving four entities:

  • EV Owner (User)
  • Charging Kiosk
  • Grid Authority
  • Blockchain Ledger

The system ensures secure and verifiable transactions using cryptographic techniques.

Features

  • SHA-3 based User ID (UID) and Franchise ID (FID) generation
  • Lightweight encryption (ASCON simulation) for QR-based communication
  • Secure transaction verification by Grid Authority
  • Blockchain-based immutable transaction storage
  • Dispute/Refund handling using reverse blockchain entries
  • Simulation of Shor’s Algorithm to demonstrate quantum vulnerabilities

System Flow

  1. User scans encrypted QR code from kiosk
  2. User enters VMID, PIN, and amount
  3. Kiosk sends request to Grid Authority
  4. Grid verifies credentials and balance
  5. Transaction is processed and recorded on blockchain
  6. Kiosk displays success/failure
  7. In case of failure, refund is processed and recorded

Technologies Used

  • Python
  • hashlib (SHA-3)
  • AES (as ASCON simulation)
  • Custom Blockchain implementation

How to Run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages