Skip to content

Commit

Permalink
Update SmallKeySize2.java
Browse files Browse the repository at this point in the history
Removed change
  • Loading branch information
schlichtig authored Feb 20, 2024
1 parent 1512720 commit c95ef93
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public static void main(String[] args) throws NoSuchPaddingException, NoSuchAlgo
Cipher cipher = Cipher.getInstance("RSA");

KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA");
keyGen.initialize(513);
keyGen.initialize(512);
KeyPair keyPair = keyGen.generateKeyPair();

cipher.init(Cipher.ENCRYPT_MODE,keyPair.getPublic());
}
}
}

0 comments on commit c95ef93

Please sign in to comment.