1. 程式人生 > >JavaScript base64編碼解碼

JavaScript base64編碼解碼

 ----script------  
1a你
MWHkvaA=


 var b = new Base64();
    var eid = b.encode('1a你');
    console.log(eid);
    var did = b.decode(eid);
    console.log(did);