|
|
@@ -38,7 +38,7 @@ public class test2 {
|
|
|
public static final String DEFAULT_PUBLIC_KEY_STRING = "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAKHGwq7q2RmwuRgKxBypQHw0mYu4BQZ3eMsTrdK8E6igRcxsobUC7uT0SoxIjl1WveWniCASejoQtn/BY6hVKWsCAwEAAQ==";
|
|
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
|
- String password = "123456";
|
|
|
+ String password = "fgjdb-1234";
|
|
|
String[] arr = genKeyPair(512);
|
|
|
System.out.println("privateKey:" + arr[0]);
|
|
|
System.out.println("publicKey:" + arr[1]);
|