encryptor-js

0.2.1 • Public • Published

Install

Install the package NPM:

$ npm i encryptor-js --save

or install the package YARN:

yarn add encryptor-js

Usage

var Encryptor = require('encryptor-js');
 
var encryptedMessage = new Encryptor().encrypt('message', 'secret');
var decryptedMessage = new Encryptor().decrypt(encryptedMessage, 'secret');
 
console.log(encryptedMessage); // 8cfa1d25147d06730fb91f162fecf8d0
console.log(decryptedMessage); // message

Author

Anderson Costa

License

MIT

Package Sidebar

Install

npm i encryptor-js

Weekly Downloads

1

Version

0.2.1

License

MIT

Unpacked Size

3.12 kB

Total Files

5

Last publish

Collaborators

  • andcosta