项目作者: jedisct1

项目描述 :
The dum^H^H^Hsimplest encryption tool in the world.
高级语言: C
项目地址: git://github.com/jedisct1/encpipe.git
创建时间: 2017-12-30T02:25:23Z
项目社区:https://github.com/jedisct1/encpipe

开源协议:Other

下载


CodeQL scan

Encpipe

The dum^H^H^Hsimplest encryption tool in the world.

Usage

Encrypt a file using a password:

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

Decrypt a file using a password:

  1. 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:

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

Example - compressed, encrypted archives:

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

Dependencies

None. It includes libhydrogen as a
submodule. There is nothing to install.

Installation

  1. make
  2. sudo make install

Why

It was faster to write than remember how to use GnuPG and OpenSSL.