|
|
@@ -266,6 +266,14 @@ public class InnerServiceImpl implements IInnerService {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ public static void main(String[] args) {
|
|
|
+ JSONObject jsonObject = new JSONObject();
|
|
|
+ jsonObject.put("appId","ucenter");
|
|
|
+ jsonObject.put("timestamp",System.currentTimeMillis());
|
|
|
+ String deTxt = RsaUtils.encipher(jsonObject.toJSONString(), RsaUtils.publicKey);
|
|
|
+ System.out.println(deTxt);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
@Override
|