@nbisigna/scramble
v1.0.1
Published
A scrambler made using a c++ add on.
Downloads
3
Maintainers
Readme
Scramble
C++ addon for obfuscating ASCII character strings.
Warning!
This is not safe to use to encrypt passwords and sensitive information.
install
npm i @nbisigna/scramble
usage
const { scramble, unScramble } = require('@nbisigna/scramble');
let test = scramble('This is a test string.');
console.log(test); //ExU(s1(saatjiMtsML*\um
console.log(unScramble(test)); //This is a test string.
TODO
- secret key option
const { scramble, unScramble } = require('@nbisigna/scramble');
let key = 'secret key';
let hide = scramble('This is a test string.', key);
console.log(hide); //njibay7&*B#HBUy8bBHDd
console.log(unScramble(hide, key)); //This is a test string.