//step1 String code= "Oc0PEwKrLzHqT25hYLhWP5wlk5HROPJoWC3chlqMHBoxLQ/WUcbKwsamjy+N2RsBDwFnFegg1tQXmuvWUcuxIMKwMC8RCjWjgVVCH385LBiXkGLM+q9hhlfEMjavM0vHfvx02/Af+njixF7M2yuVmf6lhH2BnQ2j4sR12HvfRHbDnzKQbhrydNh7k90qB43B " //编码 String urlEnCode = URLEncoder.encode(code,"UTF-8"); //step2 //解码 String urlDeCode = URLDecoder.decode(urlEnCode,"UTF-8"); //再解码 String deStr = KmService.deCryptKey(enStr); //源代码片段来自云代码http://yuncode.net
初级程序员
by: 简明 发表于:2017-11-27 16:38:10 顶(1) | 踩(1) 回复
谢谢分享,好好学习
回复评论