Giter Club home page Giter Club logo

tricrypt's Introduction

tricrypt

A command-line file encrypt tool made using Node.js

Note: this project still a work in progress

Actual state of this work

  • Encrypt a single file
  • Decrypt a single file
  • Encrypt a folder
  • Decrypt a folder

Using tricrypt

  1. Download this source code
  2. Install its dependencies
  npm install
  1. Tricrypt takes one of two commands: encrypt or decrypt
$ node main.js encrypt [options]
$ node main.js decrypt [options]

encrypt [options]

Option alias description
input i a path to an input file
ouput o a path to an output folder
password p a password to be used as a cipher

usage

$ node main.js encrypt -i ~path/to/a/file.txt -o ~path/to/a/folder -p mypassword

decrypt [options]

Option alias description
input i a path to an input file
ouput o a path to an output folder
password p a password to be used as a cipher

usage

$ node main.js decrypt -i ~path/to/a/file.tricrypt.txt -o ~path/to/a/folder -p mypassword

Tricrypt has the capability to encrypt and decrypt the folders. For encrypting/decrypting the folder the usage is the same as above. Tricrypt encrypts all the files in a folder and outputs the compressed zip of the encrypted files in the desired output directory. However, for decryption, you would need provide the path of the unzipped directory.

The support to decrypt a zipped folder would be added in the near future.

tricrypt's People

Contributors

hegde5 avatar thiagodella avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

tricrypt's Issues

Compress folder after encryption

Use Zlib from Node.js to compress folders after encryption.

  • Result folder should be something like folder.tricrypt.zip or so.

Encrypt a folder

Encrypt every file inside a folder and subfolders recursively.

Encryption Salt

Add a way to use encryption salt for files.

  • Use createCipheriv instead of createCipher

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.