Just another node package for data encryption and decryption with custom passwords.
npm install encryptoJust another node package for data encryption and decryption with custom password.
bashp
npm install encrypto
`
Usage
You can just instantiate the module and call the functions whereever applicable.
` js
var dev = require('encrypto');
dev.encryptdata('plain text' or json); // returns encrypted data, optionally you can pass your own password, same will be used for decryption
dev.decryptdata('encrypted string'); // returns decrypted data, optionally you can pass your own password which you used for encryption.
`
$3
`
[sudo] npm install encrypto
``