Skip to content

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.

Notifications You must be signed in to change notification settings

viralpoetry/vpcrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages