Skip to content

McKayJT/encpipe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encpipe

The dum^H^H^Hsimplest encryption tool in the world, libsodium edition.

Usage

Encrypt a file using a password:

encpipe -e -p password -i inputfile -o outputfile

Decrypt a file using a password:

encpipe -d -p password -i inputfile -o outputfile

-i and -o can be set to - or omitted to read/write from the standard input/output.

-P password_file can be used to read the password, or an arbitrary long key (that doesn't have to be text) from a file.

If you don't feel inspired, -G prints a random password.

Example - encrypted file transfer:

nc -l 6666 | encpipe -d -p password
encpipe -e -p password -i /etc/passwd | nc 127.0.0.1 6666

Example - compressed, encrypted archives:

zstd -5 -v -c "$FILE" | encpipe -e -p "$PASSWD" -o "${FILE}.zst.encpipe"

Dependencies

libsodium.

Installation

make
sudo make install

Why

I wanted a simple program for streaming file encryption, but didn't want to place my trust in the Gimli permutation yet.

About

The dum^H^H^Hsimplest encryption tool in the world, libsodium edition.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • C 84.3%
  • Roff 8.0%
  • Makefile 7.7%