nodescriptencryption
v1.0.4
Published
Encode decode your nodejs scripts
Downloads
6
Maintainers
Readme
NodeJS Script Encoding Protect your codes
What's new
** The default seceret key can now be changed
Usage
const nodeScriptenc = require('nodescriptencryption');
Encoding scripts
const nodeScriptenc = require('nodescriptencryption');
const code = `
console.log('hi');
`
console.log(nodeScriptenc.encode(code,"custom seceret key (optional)")); <-- encoded output
Decoding scripts
const nodeScriptenc = require('nodescriptencryption');
nodeScriptenc.decode("code here","custom seceret key (optional)");