抢课吧 关注:102贴子:415
  • 2回复贴,共1

正方新版系统登陆密码

取消只看楼主收藏回复

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)})


1楼2021-01-22 12:41回复
    复制到控制台打开


    2楼2021-01-22 12:41
    回复
      2026-01-01 08:38:30
      广告
      不感兴趣
      开通SVIP免广告


      3楼2021-01-22 12:42
      回复