📅  最后修改于: 2022-03-11 15:01:42.840000             🧑  作者: Mango
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