My first Rust application! A simple but powerful file encryption/decryption tool.
HIYC File Locker lets you encrypt and decrypt any type of file using a password. Whether it's a document, image, video, or any other file type, this tool can lock it with a password and unlock it later.
- Lock Files: Encrypt any file with a password (creates a
.lockedfile) - Unlock Files: Decrypt locked files back to their original form
- Show/Hide Password: Toggle password visibility while typing
- Password Strength Meter: Real-time feedback on password strength (Weak/Medium/Strong)
- Reveal in Folder: Quickly open the file location in Finder/Explorer
- Beautiful GUI: Clean, user-friendly interface built with egui
- Click Browse to select a file (or type the file path)
- Enter a strong password
- Click Lock File
- Your encrypted file is saved as
filename.ext.locked
- Select the
.lockedfile you want to decrypt - Enter the same password you used to lock it
- Click Unlock File
- Your original file is restored!
- Remember your password! There's no way to recover (unless you can decrypt) it if you forget
- Use strong passwords (10+ characters with numbers and symbols)
- The original file remains unchanged when locking (you get a new
.lockedfile) - When unlocking, the
.lockedextension is automatically removed
Make sure you have Rust installed, then:
# Navigate to the project directory
cd hie
# Build and run the application
cargo run
# Or build for release (faster)
cargo build --release
./target/release/hieie- Language: Rust
- GUI Framework: egui with eframe
- File Dialog: rfd for native file picker
- Encryption: XOR cipher (simple encryption for learning purposes)
This project uses XOR encryption for educational purposes. For real-world security needs, consider using proper cryptographic libraries like:
This is my very first Rust application, created to learn a new programming language, i.e. rust, and working with GUI, Encryption using cryptography, working with different OS in RUST.
Feel free to use, modify, and learn from this code!