aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
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)