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.

master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published