@@ -27,7 +27,7 @@ public class RsaUtils {
/**
* RSA密钥长度必须是64的倍数,在512~65536之间。默认是1024
*/
- public static final int KEY_SIZE = 512;
+ public static final int KEY_SIZE = 2048;
public static void main(String[] args) {
RsaUtils rsa = new RsaUtils();