Code Monkey home page Code Monkey logo

filecrypt's Introduction

FileCrypt

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

Encrypt & Decrypt files with blazingly fast Rust

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

filecrypt's People

Contributors

aavtic avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.