aes 256 encryption npm code example
Example 1: aes 256 nodejs
$ npm install aes256
Example 2: aes 256 nodejs
var aes256 = require('aes256'); var key = 'my passphrase';var plaintext = 'my plaintext message'; var encrypted = aes256.encrypt(key, plaintext);var decrypted = aes256.decrypt(key, encrypted); // plaintext === decrypted