|
|
|
@@ -10,7 +10,7 @@ import java.security.Key; |
|
|
|
* @date 2024-01-03 18:48 |
|
|
|
*/ |
|
|
|
public class CryptoUtil { |
|
|
|
public static final String DEFAULT_KEY = "8237uw823wuyeuwiyeehbsuuwgwvsyyeuii"; |
|
|
|
public static final String DEFAULT_KEY = "7uw823wuyeuwiyeehbsuuwgwvsyyeuii"; |
|
|
|
|
|
|
|
public static String encrypt(String data) throws Exception{ |
|
|
|
Key k = new SecretKeySpec(DEFAULT_KEY.getBytes(), "AES"); |
|
|
|
|