1.0.8 • Published 3 years ago

simple-encode v1.0.8

Weekly downloads
1
License
ISC
Repository
-
Last release
3 years ago

##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

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago