From ae9f19bae972cbae32189923e6702c622563fcc9 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 30 Dec 2017 13:08:33 +0100 Subject: Another example --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e784d69..f98675e 100644 --- a/README.md +++ b/README.md @@ -20,13 +20,19 @@ 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: +Example - encrypted file transfer: ```sh nc -l 6666 | encpipe -d -p password encpipe -e -p password -i /etc/passwd | nc 127.0.0.1 6666 ``` +Example - compressed, encrypted archives: + +```sh +zstd -5 -v -c "$FILE" | encpipe -e -p "$PASSWD" -o "${FILE}.zstd.encpipe" +``` + # Dependencies None. It includes [libhydrogen](https://github.com/jedisct1/libhydrogen) as -- cgit v1.2.3-70-g09d2