Abstract
Env Encryption Tool is an open-source Cybersecurity & Ethical Hacking project. Rust-based .env (dotenv) file encryption & decryption tool - store & retrieve your app environment variables safely :sunglasses: now Post-Quantum-safe!. It is built using Rust. The complete source code is publicly available on GitHub under the GNU Affero General Public License v3.0, making it a useful reference for students building a Cybersecurity & Ethical Hacking mini project or final-year project.
1. Introduction
Rust-based .env (dotenv) file encryption & decryption tool - store & retrieve your app environment variables safely :sunglasses: now Post-Quantum-safe!
2. Objective
Rust-based .env (dotenv) file encryption & decryption tool - store & retrieve your app environment variables safely :sunglasses: now Post-Quantum-safe!
This project demonstrates how Rust can be applied to a real-world Cybersecurity & Ethical Hacking problem.
4. Technology Stack
5. System Requirements
General requirements for this technology stack — check the README for exact versions.
- Rust toolchain (rustup / cargo)
- Git (to clone the repository)
6. Installation & Setup
git clone https://github.com/butlergroup/env_encryption_tool.git
cd env_encryption_tool- Install Rust
- Clone/fork the env_encryption_tool repo
- Set an OS-level environment variable named "DECRYPTION_KEY" ( for Linux, for Windows, for MacOS) to your desired 32-byte/character value
- Run "cargo build --release" - this outputs a binary in the target/release folder
- Run the binary in the same folder as your .env file - this outputs a env.enc file
- Integrate the included decrypt_config.rs file and its crates into your Rust project
- Copy the env.enc file to the same folder your Rust binary runs in and voila! You have encrypted environment variables provided to your application at runtime.
Full setup instructions are in the project README.
7. Future Enhancements
Suggested extensions you can add to make this your own project.
- Add logging and alert notifications (email / Telegram)
- Write a threat model document for the tool
- Package it with Docker for safe lab testing
8. Viva / Review Questions
Common questions examiners ask for projects in this domain.
- Which threat or attack does this project defend against?
- What detection or protection technique is used and what are its limits?
- How are false positives and false negatives handled?
- Which cryptographic algorithms or security standards are involved?
- What legal and ethical rules apply when testing a tool like this?
9. Source Code & License
This project is developed by butlergroup and published on GitHub under the GNU Affero General Public License v3.0. Please follow the license terms and credit the original author when you use or modify this code.
Want to build this as your internship project?
Work on a Cybersecurity & Ethical Hacking project like this with mentor guidance, weekly reviews and an internship certificate from Training Trains, Erode — online or offline.
Apply for Cybersecurity & Ethical Hacking Internship