Rust Encryptor UI is a small cross‑platform desktop application for encrypting and decrypting files with a passphrase. It is built with the eframe GUI framework and uses modern cryptography to protect your data.
- File encryption/decryption via a simple graphical interface.
- Uses AES‑256‑GCM for authenticated encryption and Argon2 for password‑based key derivation.
- Random 16‑byte salt and 12‑byte nonce are generated for each encryption run.
- Output format:
MAGIC | VERSION | SALT | NONCE | CIPHERTEXT. - Passwords are wiped from memory after each operation.
-
Install the Rust toolchain.
-
Build and run the application:
cd rust-enc-ui cargo run --release
The release build will produce a native executable and launch the GUI.
- Choose whether to Encrypt or Decrypt.
- Select the input and output files.
- Enter the password (and confirmation when encrypting).
- Click the action button and wait for the status message.
Encrypted files are written with a small header so the app can verify integrity during decryption:
[0..3] "RENC" magic bytes
[4] version byte
[5..20] salt (16 bytes)
[21..32] nonce (12 bytes)
[33..] ciphertext
Run the test build to verify the project compiles:
cargo testThis project is released under the MIT License.