Skip to content

Commit a7e8834

Browse files
committed
Changed to RSA/ECB/PKCS1Padding
1 parent de2a3d5 commit a7e8834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/example/rsaservice/util/RSAUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
public class RSAUtil {
99
private static final String ALGORITHM = "RSA";
10-
private static final String TRANSFORMATION = "RSA/ECB/OAEPWithSHA-1AndMGF1Padding";
10+
private static final String TRANSFORMATION = "RSA/ECB/PKCS1Padding";
1111
private static KeyPair keyPair;
1212

1313
static {

0 commit comments

Comments
 (0)