diff options
Diffstat (limited to 'nodejs/decrypt.js')
-rw-r--r-- | nodejs/decrypt.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nodejs/decrypt.js b/nodejs/decrypt.js new file mode 100644 index 0000000..1fa3a62 --- /dev/null +++ b/nodejs/decrypt.js @@ -0,0 +1,11 @@ +/* npm install sjcl */ + +var sjcl = require('sjcl') + +var args = process.argv.slice(2) + , pass = args[0] + , cont = args[1] + +var out = sjcl.decrypt(pass, cont) +console.log(out) + |