Ex: 通过gzip 压缩文件test.txt
压缩加密:
gzip test.txt | base64 > out #base64编码后输入到文件out中
解密解压缩:
base64 -d out |gunzip