diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2015-11-01 09:56:07 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2015-11-01 09:56:07 +0300 |
commit | af7c57b627c6b83e3d342d9e6c4f95b6041612d8 (patch) | |
tree | f3244b1b213a1bba586e0991a5194ff4673c22b3 /nodejs/decrypt.js | |
download | zerobin-af7c57b627c6b83e3d342d9e6c4f95b6041612d8.tar.gz |
Initial commit1.0.0
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) + |