Skip to content

Commit

Permalink
RELEASE
Browse files Browse the repository at this point in the history
  • Loading branch information
kaifer authored and root committed Jul 4, 2022
1 parent e05d069 commit 18e5e90
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/test/java/im/toss/cert/sdk/AESCipherTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class AESCipherTest {
private final String iv = "RVlJy3sZ5II9nQTOe3Hg+Q==";

@Test
public void test() throws InvalidAlgorithmParameterException, NoSuchPaddingException, IllegalBlockSizeException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException {
void test() throws InvalidAlgorithmParameterException, NoSuchPaddingException, IllegalBlockSizeException, NoSuchAlgorithmException, BadPaddingException, InvalidKeyException {
String plainText = "Test Plain String";
AESCipher aesCipher = new AESCipher(key, iv);

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/im/toss/cert/sdk/RSACipherTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class RSACipherTest {
private final String publicKeyString = "MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAoNsnNuQYnGR2v3XSJc2VNxYSBsykuSLJiOeSbWBSEmNG7Fm48rpzZ5bS2diRjHL55ZWBmtJ2k2WqIcHAQS8VnzhFM+bawDwfk6O8xT6hUr+C6ELENWlk2cJchAuGs5HU5bORorIqU+zuhV3kCj7XcZTIYJepWvK2OoIHORH6YkuISpuQUn1ekY11Da/wiZDdLaz7HhKFmkXdV81C13MnsCj8+81akZSupB2QNBbIW3KOVVlfB9zK+3uFoZCqn68C1iZB0u0BCNFF3/N3mNN3tXTmCtSBD+W8+yxowYM4t9ifX19m6sV1mzrGq0/wsXR5jbizAFe79vONuSS7GnG05SO+ZQe/zg9vh3upuQ9P/nmMvRzpTzXJJ9IliNQCboSpIOsbi5IcNqi1G8EVeKNd3IcK3Z5v8nvEpRqn5vD1MU3FNshrHRPxBNZfz3/6NWjlS+af01Q2Y1NYRtuGJNtIUXjHeexkVZycgI7feXs3XtG+yjJU6Z1SnXj5HJbMneCiQbg/aTMsHG57m8+t5QdA+Zx1Gkz3uxpl92/qzZIWV7JwXbR0l2GmSM8I397zT8e2rlIWmQ8XUESjXdmWWBMR2Oqri8drfzHzvfVG5W2D8lcmyHW2yLJ/JBQNK1CJH+NAwJaOmK5sQK8sSLtp8axcveKN+3Dn1kWDrJqk5O90CfUCAwEAAQ==";

@Test
public void test() throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidKeyException {
void test() throws NoSuchAlgorithmException, InvalidKeySpecException, NoSuchPaddingException, IllegalBlockSizeException, BadPaddingException, InvalidKeyException {
RSACipher rsaCipher = new RSACipher(publicKeyString);
String encrypted = rsaCipher.encrypt("Test Plain String");
System.out.println("encrypted: " + encrypted);
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/im/toss/cert/sdk/SecureKeyGeneratorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class SecureKeyGeneratorTest {

@Test
public void test() throws NoSuchAlgorithmException {
void test() throws NoSuchAlgorithmException {
String key = SecureKeyGenerator.generateKey(256);
System.out.println("key:" + key);
}
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/im/toss/cert/sdk/TossCertSessionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class TossCertSessionTest {
@Test
public void test() {
void test() {
// 1. 세션 생성기를 사전에 1회만 생성해 주세요.
TossCertSessionGenerator tossCertSessionGenerator = new TossCertSessionGenerator();

Expand Down Expand Up @@ -35,7 +35,7 @@ public void test() {
}

@Test
public void cdcTest() {
void cdcTest() {
// 1. 세션 생성기를 사전에 1회만 생성해 주세요.
TossCertSessionGenerator tossCertSessionGenerator = new TossCertSessionGenerator();

Expand Down

0 comments on commit 18e5e90

Please sign in to comment.