Encrypt & Decrypt files with blazingly fast Rust
266292619-ec881c68-a247-4c2f-992f-f67f6298b967.mp4
Install Rust & Cargo package manager
- Clone the repo
git clone https://github.com/Aavtic/FileCrypt.git
- Build the executable using cargo build in the cloned directory
cargo build
Done!
The executable will be in ./FileCrypt/target/debug/filecrypt
Run the executable in the directory you have the files to encrypt, so that you don't have to specify full filepath.
- On Linux
./filecrypt -e <file-to-encrypt> -k <key> -o <output-file>
- On Windows
.\filecrypt -e <file-to-encrypt> -k <key> -o <output-file>
- On Linux
./filecrypt -d <file-to-decrypt> -k <key> -o <output-file>
- On Windows
.\filecrypt -d <file-to-decrypt> -k <key> -o <output-file>
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