base64, encryption and decryption, fusion encryption, docking

String data0 = new String(Base64.encode(bo.getPaymentResult().getBytes(("GBK"))));
String data1 = new String(Base64.decode(data0.toCharArray()),"GBK");

/ / Pay attention to the encoding format, pay attention to the encryption, the decryption is the class in the same jar,
//Encryption in the fusion, decryption 1, the public and private keys of both parties are the same, 2, the point used for encryption cannot be different

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326927380&siteId=291194637