encrypto
v1.0.6
Published
Just another node package for data encryption and decryption with custom passwords.
Downloads
41
Maintainers
Readme
Just another node package for data encryption and decryption with custom password.
Installation
npm install encrypto
Usage
You can just instantiate the module and call the functions whereever applicable.
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.
Installing encryption module
[sudo] npm install encrypto