Node js crypto


### zip
```typeconst crypto = require("crypto")const zlib = require("zlib")// ...fs.createReadStream(file)  .pipe(zlib.createGzip())  .pipe(crypto.createCipher("aes192", "a_secret"))  .pipe(reportProgress)  .pipe(fs.createWriteStream(file + ".zz"))  .on("finish", () => console.log("Done"))```

### unzip
```typeconst crypto = require("crypto")const zlib = require("zlib")fs.createReadStream(file)  .pipe(crypto.createDecipher('aes192', 'a_secret'))  .pipe(zlib.createGunzip())  .pipe(reportProgress)  .pipe(fs.createWriteStream(file.slice(0, -3))  .on('finish', () => console.log('Done'));```


> [Node.js Stream 당신이 알아야할 모든 것 3편](https://jeonghwan-kim.github.io/node/2017/08/12/node-stream-you-need-to-know-3.html)





