|
@@ -215,12 +215,6 @@ public final class RsaUtils {
|
|
|
|
|
|
return sb.toString();
|
|
return sb.toString();
|
|
}
|
|
}
|
|
- public static void main(String[] args) throws Exception {
|
|
|
|
- System.out.println("授权码示例: " + generateAuthCode());
|
|
|
|
- String uuid = UUID.randomUUID().toString().trim().replaceAll("-", "");
|
|
|
|
- System.out.println(uuid);
|
|
|
|
- String s = encryptWithPk("13709467119", "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAI0Uny+3+OS9ZeO0jERNhnztulQC1tgbJS2+mYk3c8BjG2yi3sDl+JbJ7VgfVV86xZ/BJwTQk07soFBe4RfLhs0CAwEAAQ==");
|
|
|
|
- System.out.println(s);
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
|
|
}
|
|
}
|