http encryption : 암호화 된 바디 데이터 복호화 하여 처리

This commit is contained in:
haerong22
2021-09-01 17:44:28 +09:00
parent 6a7c351639
commit 58d328cb59
16 changed files with 605 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package com.example.httpencryption.utils;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;
class AESUtilTest {
AESUtil util = new AESUtil();
@Test
void encryptTest() {
String hello = util.encrypt("hello");
System.out.println("hello = " + hello);
String decrypt = util.decrypt(hello);
assertEquals("hello", decrypt);
}
}