This commit is contained in:
2025-10-14 14:00:15 +08:00
parent 8b4bcee92f
commit f27240a1c9
18 changed files with 786 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,17 @@
package com.fly.boot.util;
import com.fly.boot.common.util.encrypt.AesEncryptUtil;
import org.junit.Test;
import static org.junit.Assert.*;
public class AesEncryptUtilTest {
@Test
public void testEncrypt() throws Exception {
String key = "aa1f872935ad7d715a54c5fecdbc411f";
String value = "{ 'phone':\"13800138000\" ,'password':\"1\",'code':\"123123\"}";
String v = AesEncryptUtil.aesEncrypt(value, key);
System.out.println(v);
}
}