diff options
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |