From c95ef93ae6e258afefedf9052a09037494a608e8 Mon Sep 17 00:00:00 2001 From: schlichtig Date: Tue, 20 Feb 2024 14:37:27 +0100 Subject: [PATCH] Update SmallKeySize2.java Removed change --- .../org/cambench/cap/basic/smallkeysize/SmallKeySize2.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CamBench_Cap/src/main/java/org/cambench/cap/basic/smallkeysize/SmallKeySize2.java b/CamBench_Cap/src/main/java/org/cambench/cap/basic/smallkeysize/SmallKeySize2.java index c294c797..27ce27ee 100644 --- a/CamBench_Cap/src/main/java/org/cambench/cap/basic/smallkeysize/SmallKeySize2.java +++ b/CamBench_Cap/src/main/java/org/cambench/cap/basic/smallkeysize/SmallKeySize2.java @@ -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()); } -} \ No newline at end of file +}