例如:{"UserName":"youmuleshi","Secret":"youmuleshi","Stamp":"0414174715","Moblie":"15318067266","Text":"我的验证码是:7890。【youmoo】","Ext":"","SendTime":""}
2 个解决方案
#1
String str = “{'a':'1'}”;
byte[] b = str.getByte("UTF-8");
byte[] enb = des加密计算(百度一下 )
String enStr = org.apache.commons.codec.binary.Base64.encodeBase64String(enb);
byte[] b = str.getByte("UTF-8");
byte[] enb = des加密计算(百度一下 )
String enStr = org.apache.commons.codec.binary.Base64.encodeBase64String(enb);
#1
String str = “{'a':'1'}”;
byte[] b = str.getByte("UTF-8");
byte[] enb = des加密计算(百度一下 )
String enStr = org.apache.commons.codec.binary.Base64.encodeBase64String(enb);
byte[] b = str.getByte("UTF-8");
byte[] enb = des加密计算(百度一下 )
String enStr = org.apache.commons.codec.binary.Base64.encodeBase64String(enb);