Skip to content

Coder-Priyan/Secure-Text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔒 SecureText

Project Overview

SecureText is a modern web-based Encryption and Decryption Dashboard built using HTML, CSS, and JavaScript. The application allows users to securely encrypt and decrypt text using the AES-GCM encryption algorithm while providing a clean, responsive, and user-friendly interface.

The project is designed to demonstrate practical implementation of modern cryptography concepts in a browser environment without requiring any backend server.


Features

  • AES-GCM based text encryption
  • Secure text decryption using the same secret key
  • Password-protected encryption workflow
  • Copy encrypted and decrypted output with one click
  • Encryption and decryption history tracking
  • Export history as JSON file
  • Delete individual history records
  • Clear complete history
  • Responsive dashboard design
  • Modern dark-themed user interface
  • Local storage support for history management

Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • Web Crypto API
  • Local Storage API

System Workflow

User Input
    ↓
Secret Key
    ↓
PBKDF2 Key Derivation
    ↓
AES-GCM Encryption
    ↓
Encrypted Ciphertext
    ↓
History Storage

Decryption Flow

Encrypted Ciphertext
    ↓
Secret Key
    ↓
PBKDF2 Key Derivation
    ↓
AES-GCM Decryption
    ↓
Original Plain Text

Project Structure

SecureText/
│
├── index.html
├── style.css
├── script.js
└── README.md

Key Functionalities

Encryption Module

Users can enter plain text and a secret key to generate encrypted ciphertext using AES-GCM encryption.

Decryption Module

Encrypted text can be decrypted back into its original form using the same secret key that was used during encryption.

History Module

The application automatically stores encryption and decryption activities in browser local storage. Users can view, export, delete, or clear history records.

Copy Utility

Encrypted and decrypted outputs can be copied instantly using the built-in copy functionality.


Security Features

  • AES-GCM 256-bit Encryption
  • PBKDF2 Key Derivation
  • Random Salt Generation
  • Random Initialization Vector (IV)
  • Browser-based Cryptographic Processing
  • No Server-Side Data Storage

Installation

Clone Repository

git clone https://github.com/Coder-Priyan/SecureText.git

Open Project

Simply open:

index.html

in any modern web browser.

No additional installation or dependencies are required.


Future Enhancements

  • File Encryption and Decryption
  • Secure Cloud Backup
  • User Authentication
  • Dark/Light Theme Toggle
  • Multiple Encryption Algorithms
  • Password Strength Indicator
  • Encryption Analytics Dashboard

Learning Outcomes

  • Web Cryptography
  • AES-GCM Encryption
  • PBKDF2 Key Derivation
  • JavaScript DOM Manipulation
  • Local Storage Management
  • Responsive UI Design
  • Frontend Security Concepts

Contributors

  • Priyanshu Dangi

License

This project is developed for educational and academic purposes.

About

SecureText is a modern web-based encryption and decryption dashboard built using HTML, CSS, and JavaScript with AES-GCM encryption.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors