viralpoetry / vpcrypt

vpcrypt is a file encryption utility that runs from the Linux command prompt to provide a simple tool for encrypting files using a XSalsa20 stream cipher. VPcrypt is using hmac-sha256 for integrity check, pbkdf for strong key derivations and finally XSalsa20 stream cipher for file confidentiality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VPcrypt

VPcrypt is a file encryption utility that runs from the Linux command prompt to provide a simple tool for encrypting files using a XSalsa20 stream cipher. VPcrypt is using hmacsha256 for integrity check, pbkdf for strong key derivations and finally XSalsa20 stream cipher for file confidentiality.

Installation

You need Sodium crypto library installed.

sudo apt-get update
sudo apt-get install build-essential

# download libsodium  
wget https://download.libsodium.org/libsodium/releases/LATEST.tar.gz

# extract libsodium
tar -xvzf LATEST.tar.gz

# install libsodium
cd libsodium-stable
./configure
make
make check
sudo make install

# create the necessary links
sudo ldconfig

# Build vpcrypt.c using make command, then install it:
make
sudo cp vpcrypt /usr/local/bin/

Usage

./vpcrypt [ -e | --encrypt | -d | --decrypt] <file_name>

I need peer review of this code! Browse through it before blindly using. Thank you.

About

vpcrypt is a file encryption utility that runs from the Linux command prompt to provide a simple tool for encrypting files using a XSalsa20 stream cipher. VPcrypt is using hmac-sha256 for integrity check, pbkdf for strong key derivations and finally XSalsa20 stream cipher for file confidentiality.


Languages

Language:C 99.8%Language:Makefile 0.2%