use openssl to encrypt tarball

[root@vmarch tmp]# tar zcvf - test/ | openssl des3 -salt -k test123. | dd of=test.des3
test/
test/profile
test/kcptun.log
518+1 records in
518+1 records out
265528 bytes (266 kB, 259 KiB) copied, 0.0742997 s, 3.6 MB/s

[root@vmarch tmp]# file test.des3
test.des3: openssl enc'd data with salted password
dd if=test.des3 | openssl des3 -d -k test123. | tar zxvf - -C ~/
test/
test/profile
test/kcptun.log
518+1 records in
518+1 records out
265528 bytes (266 kB, 259 KiB) copied, 3.29539 s, 80.6 kB/s

[root@vmarch tmp]# ll ~/test
total 3376
-rw-r--r-- 1 root root 3449266 Jul 19 10:22 kcptun.log
-rw-r--r-- 1 root root 573 Jul 19 10:22 profile