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