黑馬博學谷狂野大數據(七期) 直播課
? ?String privateKey = RSAEncryptUtil.getSystemDefaultRSAPrivateKey();
? ? ? ? ? ? ? ?String desEncryptStr = RSAEncryptUtil.decryptPKSC1(encrypt, privateKey);
? ? ? ? ? ? ? ?JSONObject obj = JSONObject.parseObject(body);
? ? ? ? ? ? ? ?String encryptParam = obj.getString("encryptParam");
? ? ? ? ? ? ? ?body = DESEncryptUtil.decrypt(encryptParam, desEncryptStr);
? ? ? ? ? ?}
? ? ? ?}catch (Exception e){
標簽: