A Cybersecurity project that provides AES-256 file encryption and decryption with 2-Factor Authentication (2FA) using Time-based One-Time Passwords (TOTP) generated by authenticator apps like Google Authenticator.
Furious Chargers is a secure file authentication system where:
-
Files are encrypted using AES-256
-
Decryption requires:
- Correct password
- Valid OTP (changes every 30 seconds)
-
OTP is generated using Authenticator Apps (TOTP standard)
This ensures confidentiality, integrity, and strong access control.
Below is the actual working UI of the project
- AES-256 File Encryption
- Secure File Decryption
- Password-Based Protection
- 2-Factor Authentication (TOTP)
- OTP changes every 30 seconds
- QR Code support for Authenticator Apps
- Simple and clean Flask Web Interface
-
During encryption/decryption, a secret key is generated
-
The secret is shown as a QR Code
-
User scans the QR using:
- Google Authenticator
- Microsoft Authenticator
- Any TOTP-compatible app
-
The app generates a 6-digit OTP
-
OTP changes automatically every 30 seconds
-
Only a valid OTP + correct password allows decryption
This follows the RFC 6238 – TOTP Standard
| Technology | Purpose |
|---|---|
| Python | Core logic |
| Flask | Web framework |
| AES (PyCryptodome) | Encryption & Decryption |
| PyOTP | TOTP / 2FA |
| HTML, CSS | Frontend |
| Google Authenticator | OTP Generation |
File_Authentication/
├── app.py
├── requirements.txt
├── templates/
│ └── index.html
├── static/
│ └── style.css
├── screenshots/
│ └── ui.png
└── README.md
git clone https://github.com/Ajay16code/File_Authentication.git
cd File_Authenticationpip install -r requirements.txtpython app.pyhttp://127.0.0.1:5000
- Upload a text file
- Enter a strong password
- Click Encrypt & Download
- Encrypted
.encfile is generated
- Upload encrypted
.encfile - Enter password
- Enter OTP from Authenticator App
- Click Decrypt & Download
-
AES-256 is industry-grade encryption
-
OTP expires every 30 seconds
-
Prevents:
- Brute-force attacks
- Unauthorized access
- File tampering
This project is for educational & academic purposes in Cybersecurity.
