Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
Source by www.npmjs.com #
 
PREVIOUS NEXT
Tagged: #aes #nodejs
ADD COMMENT
Topic
Name
8+8 =