This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
www.google.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require('fs'); | |
var crypto = require('crypto'); | |
var password = new Buffer('{cCQ3d^b&5/Wfp}MV%@Dhy;N)qvTu@?!h:eXL#;A?xS=wZb[w(Z>H^FyK%/P*3aB=_(~A%]f[)LjMVuH(s!Kw%fJwL'); | |
var items=['file1','file2','file3'] | |
for (var i=0;i<items.length;i++) { | |
var aes = crypto.createCipher('aes-256-ctr', password); |