From 0ead3c88f32afb82158b6e7e8c7e2dcfc35edfaf Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 30 Dec 2017 03:33:04 +0100 Subject: Add an example --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index c5be77f..f86c668 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,13 @@ 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 [libhydrogen](https://github.com/jedisct1/libhydrogen) -- cgit v1.2.3-70-g09d2