Skip to content

A file encryption and decryption program completely written in Rust

Notifications You must be signed in to change notification settings

Aavtic/FileCrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FileCrypt Gitter

A program completely written in Rust to encrypt and decrypt files using a provided key.

Encrypt & Decrypt files with blazingly fast Rust

socials

Gitter

out.mp4

Installation & Setup

Install Rust & Cargo package manager

  1. Clone the repo
git clone https://github.com/Aavtic/FileCrypt.git
  1. Build the executable using cargo build in the cloned directory
cargo build

Done! The executable will be in ./FileCrypt/target/debug/filecrypt

Usage

Run the executable in the directory you have the files to encrypt, so that you don't have to specify full filepath.

Encrypt files

  1. On Linux
./filecrypt -e <file-to-encrypt> -k <key> -o <output-file>
  1. On Windows
.\filecrypt -e <file-to-encrypt> -k <key> -o <output-file>

Decrypt files

  1. On Linux
./filecrypt -d <file-to-decrypt> -k <key> -o <output-file>
  1. On Windows
.\filecrypt -d <file-to-decrypt> -k <key> -o <output-file>

Optional Argument --no-backup

When you normally encrypt files using filecrypt, it stores a backup of the password in ./.filecrypt/.filecrypt.json file. It will store them in the directory that you run this software. So Its recommended to create a directory to encrypt files from it so all the passwords will be stored in ./.filecrypt/.filecrypt.json file in that directory.

If you wish to not save the password then you can use the --no-backup argument while encrypting the file.

./filecrypt -e <file-to-encrypt> -k <key> -o <output-file> --no-backup

Downloads

Linux

Download an ELF 64-bit LSB pie executable, x86-64

Download

Windows

Download