Admin
Joined - December 2025
Features of this Voting System: 1. Aadhaar Authentication
12-digit Aadhaar validation
OTP-based verification (simulated)
New voter registration
Prevents duplicate voting
2. Security Features
SHA-256 hashing for sensitive data
OTP expiry mechanism
Vote confirmation with preview
IP address tracking (simulated)
One-vote-per-user enforcement
3. Voting Interface
Candidate selection with radio buttons
Candidate information display
Voting confirmation dialog
Success receipt generation
4. Results & Statistics
Live results display
Vote percentage calculations
Graphical vote representation
Voting history for users
5. Admin Panel
Voter management
Candidate management
Real-time statistics
System monitoring
6. Database Design
Voters table with Aadhaar details
Candidates table with party info
Votes table for audit trail
OTP storage with expiry
Setup Instructions:
Save the code to a file named voting_system.py
Install required packages (if not already installed):
bash
pip install tkinter
Run the application:
bash
python voting_system.py
For testing, use demo Aadhaar: 123456789012
Important Notes:
⚠️ This is a demonstration system only:
Real Aadhaar Integration would require:
UIDAI API access and certification
Actual OTP sending via SMS gateway
Government compliance and security audits
Security Enhancements needed for production:
SSL/TLS encryption
Two-factor authentication
Blockchain for vote immutability
Biometric verification
Secure hosting environment
Legal Requirements:
Election Commission approval
Data protection compliance (PDP Bill)
Audit logging requirements
Paper trail backup
Files Generated:
voting_system.db - SQLite database
Logs and audit trails (to be implemented)
Get the updates.
Up to Top
Comments