aboutsummaryrefslogtreecommitdiff
path: root/nodejs/decrypt.js
blob: 1fa3a6257d4311b02ddeec9c010569a6a2f31e9c (plain)
1
2
3
4
5
6
7
8
9
10
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)