Skip to content

Commit 829448d

Browse files
committed
Updated the metho
1 parent a7e8834 commit 829448d

5 files changed

Lines changed: 3 additions & 1 deletion

File tree

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/PKCS1Padding";
10+
private static final String TRANSFORMATION = "RSA/ECB/OAEPWithSHA-1AndMGF1Padding";
1111
private static KeyPair keyPair;
1212

1313
static {
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
server.port=8080
Binary file not shown.
Binary file not shown.
2.23 KB
Binary file not shown.

0 commit comments

Comments
 (0)