xxg-crypto
v1.0.0
Published
var crypto=require('xxg-crypto');
Downloads
3
Readme
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));