mirror of
https://gitee.com/jzsw-it/yexuejc-base.git
synced 2025-06-06 13:54:03 +08:00
[update] 测试代码更新
This commit is contained in:
parent
9f5ecefc43
commit
31040ad0e9
@ -26,7 +26,7 @@ public class AESTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testDecrypt() throws Exception {
|
public void testDecrypt() throws Exception {
|
||||||
String data = "SGVsbG8gV29ybGQh";
|
String data = "p0x0vK5T6OOy69+p9cgI/9xfeoi/f0t6NO7HbLsUON4=";
|
||||||
AES aes = AES.builder()
|
AES aes = AES.builder()
|
||||||
.setAlgorithm(AES.ALGORITHM.AES_CBC_PKCS5Padding)
|
.setAlgorithm(AES.ALGORITHM.AES_CBC_PKCS5Padding)
|
||||||
.setKey("hj7x89H$yuBI0456")
|
.setKey("hj7x89H$yuBI0456")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user