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.

viralpoetry/vpcrypt

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published