Skip to content

A secure command-line file encryption tool built in Rust. Features AES-256-GCM encryption, Argon2 password hashing, and HKDF key derivation for robust file security.

License

Notifications You must be signed in to change notification settings

JawwadK/secure_file_encryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Secure File Encryptor

Rust License: MIT Security: AES-256-GCM Key Derivation: Argon2

A secure command-line tool for file encryption and decryption using AES-256-GCM with Argon2 key derivation.

Features

  • 🔐 AES-256-GCM encryption
  • 🗝️ Argon2 password hashing
  • 🔄 HKDF key derivation
  • ✅ File integrity verification
  • 📝 Detailed error messages

Installation

cargo install secure-file-encryptor

Usage

Encrypt a file:

secure-file-encryptor --file secret.txt --password mysecretpassword --encrypt

Decrypt a file:

secure-file-encryptor --file secret.txt.encrypted --password mysecretpassword

Security Features

  • Uses AES-256-GCM for authenticated encryption
  • Argon2 for secure password hashing
  • Unique salt for each encryption
  • File integrity verification
  • Secure random nonce generation

License

MIT License

About

A secure command-line file encryption tool built in Rust. Features AES-256-GCM encryption, Argon2 password hashing, and HKDF key derivation for robust file security.

Topics

Resources

License

Stars

Watchers

Forks

Languages