1.0.8 • Published 2 years ago

simple-encode v1.0.8

Weekly downloads
1
License
ISC
Repository
-
Last release
2 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

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago