summaryrefslogtreecommitdiffstats
path: root/README.md
blob: e784d696f595b70af0093959cf7f5c9c2997b9f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Encpipe
=======

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

# Usage

Encrypt a file using a password:

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

Decrypt a file using a password:

```sh
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.

Ex:

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

# Dependencies

None. It includes [libhydrogen](https://github.com/jedisct1/libhydrogen) as
a submodule. There is nothing to install.

# Installation

```sh
make install
```

# Why

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

# Yes

It's using passwords. Provided on the command-line. Yes, it actually
does that. I needed that. Right now. Other options will be
implemented. Next year.