Commit 538beda5 authored by Jon Chin's avatar Jon Chin

added

parent 51798c2e
var encdec = require('./index.js');
var prompt = require('prompt');
console.log('staRt encryption script');
prompt.start();
prompt.get(['public key filename', 'input filename', 'output filename'], function (err, argv){
encdec.encrypt(
argv['public key filename'],
argv['input filename'],
"binary",
argv['output filename']
);
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment