| Crates.io | crypter_project_sk |
| lib.rs | crypter_project_sk |
| version | 0.1.0 |
| created_at | 2025-11-10 01:34:58.681667+00 |
| updated_at | 2025-11-10 01:34:58.681667+00 |
| description | A secure file encryption tool using AES-GCM and Argon2. |
| homepage | |
| repository | https://github.com/rageousk/crypter/ |
| max_upload_size | |
| id | 1924646 |
| size | 30,609 |
A secure, simple command-line tool written in Rust for encrypting and decrypting files.
This project was built for a Programming Languages course, focusing on applying core Rust concepts—Ownership, Structs, Enums, and Modules—to a practical cybersecurity problem. The tool is fully functional and secure.
You’ll need Rust and Cargo installed on your system.
If you don't already have Rust and Cargo, install them using the official installer:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
This command works on most Unix-based systems (Linux, macOS).
For Windows, download and run the installer from rustup.rs.
After installation, restart your terminal and verify:
rustc --version
cargo --version
git clone https://github.com/rageousk/crypter.git
cd crypter
Run the encrypt command, providing input and output file paths:
cargo run -- encrypt test_doc.txt my_file.bin
You will be prompted to enter and confirm a password. If it's wrong, you can try again.
Run the decrypt command:
cargo run -- decrypt my_file.bin test_doc_decrypted.txt
You will be prompted for your password. If it's wrong, you can try again.