抢课吧 关注:102贴子:415
  • 3回复贴,共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
    回复
      2025-12-31 23:53:47
      广告
      不感兴趣
      开通SVIP免广告


      3楼2021-01-22 12:42
      回复
        这个是干什么用的


        IP属地:江苏来自Android客户端4楼2024-04-24 20:10
        回复