Skip to content

Encrypt any file in your browser without file size limitation: Open source, encryption happen locally in your browser, no transmission to any server, free & auditable

Notifications You must be signed in to change notification settings

hopeugetherpes/Z3R0

Repository files navigation

Z3R0 🔒

Ultra-secure local file encryption tool that works entirely in your browser

Z3R0 is a modern, privacy-focused file encryption application that allows you to encrypt and decrypt any file type locally in your browser without any data ever leaving your device. Built with security and privacy as core principles.

🚀 Purpose

Z3R0 provides military-grade AES-256-GCM encryption for any file type, ensuring your sensitive data remains completely private. Whether you're protecting personal documents, business files, or media content, Z3R0 offers enterprise-level security with consumer-friendly simplicity.

Key Features:

  • 🔐 AES-256-GCM Encryption - Military-grade security using Web Crypto API
  • 📁 Universal File Support - Encrypt any file type (documents, images, videos, etc.)
  • 🚫 No Size Limits - Handle files of any size without restrictions
  • 🌐 100% Local Processing - Zero server communication, complete privacy
  • Ultra Fast - Optimized performance using native browser APIs
  • 🔓 Dual Authentication - Password-based and PGP key encryption support
  • 🎯 Zero Knowledge - We never see your files or passwords
  • 📱 Cross-Platform - Works on any device with a modern browser
  • 🆓 Open Source - Fully auditable code under CC0 license

📖 Usage

Getting Started

  1. Visit the Z3R0 web application
  2. Choose your encryption method (Password or PGP Key)
  3. Drag and drop your file or click to select
  4. Enter a strong password (minimum 14 characters with numbers, uppercase, and special characters)
  5. Click "Encrypt File" to secure your data
  6. Download the encrypted file with .enc extension

Decryption

  1. Select "Decrypt" mode
  2. Upload your encrypted .enc file
  3. Enter the same password used for encryption
  4. Click "Decrypt File" to restore your original file
  5. Download the decrypted file

Password Requirements

For maximum security, passwords must include:

  • ✅ At least 14 characters
  • ✅ At least one number
  • ✅ At least one uppercase letter
  • ✅ At least one special character

The application provides real-time password strength feedback and brute-force time estimates.

⚠️ Limitations

  • Password Recovery: If you forget your password, your files cannot be recovered. There is no "forgot password" option by design.
  • Browser Compatibility: Requires a modern browser with Web Crypto API support (Chrome 37+, Firefox 34+, Safari 7+, Edge 12+)
  • Memory Usage: Very large files may consume significant browser memory during processing
  • PGP Implementation: Current PGP support uses a fallback implementation; full OpenPGP.js integration planned for future releases
  • File Associations: Encrypted files lose their original file associations and must be manually renamed after decryption

🛡️ Security Architecture

Z3R0 implements industry-standard cryptographic practices:

  • Encryption Algorithm: AES-256-GCM (Galois/Counter Mode)
  • Key Derivation: PBKDF2 with 100,000 iterations
  • Salt Generation: Cryptographically secure random 16-byte salt per file
  • IV Generation: Unique 12-byte initialization vector per encryption
  • Authentication: Built-in authentication tag prevents tampering
  • Implementation: Native Web Crypto API (no third-party crypto libraries)

🔄 Fork Information

Z3R0 is a modern fork of hat.sh, reimagined with enhanced security features, improved user experience, and expanded functionality. We extend our gratitude to the original hat.sh project and its contributors for laying the foundation for secure browser-based encryption.

🙏 Acknowledgments

Special thanks to:

  • @sh-dv - For inspiration and cryptographic insights
  • The hat.sh project - For pioneering browser-based file encryption
  • The Web Crypto API team - For providing secure native browser cryptography

🚀 Development

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

```bash git clone https://github.com/hopeugetherpes/Z3R0.git cd Z3R0 npm install npm run dev ```

Building

```bash npm run build ```

📄 License

CC0 1.0 Universal (CC0 1.0) Public Domain Dedication

This work is dedicated to the public domain. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.

See LICENSE for details.

🔗 Links


Remember: Your security is only as strong as your password. Choose wisely. 🔐

About

Encrypt any file in your browser without file size limitation: Open source, encryption happen locally in your browser, no transmission to any server, free & auditable

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •