File Encryption Tool with AES-256 and Web Crypto API
Description
Secure File Encryption in the Browser
This prompt helps create a powerful client-side file encryption tool using modern web technologies and cryptographic standards.
Who It's For
- Developers working on user data protection
- Cybersecurity specialists
- Teams building secure web applications
Key Benefits
- AES-256-GCM encryption — military-grade data protection
- PBKDF2 key derivation — secure key generation from passwords
- Streaming encryption — large file support via chunked processing
- Drag-and-drop interface — convenient file selection with progress indicators
- Batch processing — simultaneous encryption of multiple files
- Password strength verification — entropy calculation and complexity requirements
>_ Prompt
Create a client-side file encryption tool using HTML5, CSS3, and JavaScript with the Web Crypto API. Build a drag-and-drop interface for file selection with progress indicators. Implement AES-256-GCM encryption with secure key derivation from passwords (PBKDF2). Add support for encrypting multiple files simultaneously with batch processing. Include password strength enforcement with entropy calculation. Generate downloadable encrypted files with custom file extension. Create a decryption interface with password verification. Implement secure memory handling with automatic clearing of sensitive data. Add detailed logs of encryption operations without storing sensitive information. Include export/import of encryption keys with proper security warnings. Support for large files using streaming encryption and chunked processing.