simple-encode

1.0.8 • Public • Published

##Encrypt Decrypt with Random IV

const plainText = "this is my plain text"; const key = "your key";

const cryptLib = require('simple-encode');

const cipherText = cryptLib.encryptPlainTextWithRandomIV(plainText, key); console.log('cipherText %s', cipherText);

const decryptedString = cryptLib.decryptCipherTextWithRandomIV(cipherText, key); console.log('decryptedString %s', decryptedString);

#supports ie-9

Readme

Keywords

none

Package Sidebar

Install

npm i simple-encode

Weekly Downloads

21

Version

1.0.8

License

ISC

Unpacked Size

9.06 kB

Total Files

4

Last publish

Collaborators

  • pldhiman