1.0.0 • Published 8 years ago
xxg-crypto v1.0.0
var crypto=require('xxg-crypto');
var cipher=crypto.cipher.bind(null,'aes-128-ecb','utf8','base64','yymt168'); var deCipher=crypto.decipher.bind(null,'aes-128-ecb','base64','utf8','yymt168'); var t=cipher('ghhgerhtr357476244de1ghhgerhtr357476244de1ghhgerhtr357476244de1'); console.log(t);
console.log(deCipher(t));
1.0.0
8 years ago