async function getMyPassWorld(password) {return new Promise((resolve, reject) => {$.getJSON(_path + "/xtgl/login_getPublicKey.html?time=" + new Date().getTime(),data=>{console.log(data)const modulus = data["modulus"];const exponent = data["exponent"];const rsaKey = new RSAKey();rsaKey.setPublic(b64tohex(modulus), b64tohex(exponent));var enPassword = hex2b64(rsaKey.encrypt(password));resolve(enPassword);});});}getMyPassWorld('你的密码').then(encode=>{console.log(encode)})











