aes
This commit is contained in:
@@ -8,7 +8,7 @@ import cn.hutool.crypto.symmetric.AES;
|
||||
|
||||
public class SecretUtils {
|
||||
|
||||
private static AES aes = new AES(Mode.ECB, Padding.ZeroPadding,
|
||||
private static AES aes = new AES(Mode.ECB, Padding.PKCS5Padding,
|
||||
new SecretKeySpec("b9t3pzbmybc66cba".getBytes(), "AES"));
|
||||
|
||||
public static byte[] encodeNote(byte[] text) {
|
||||
|
||||
Reference in New Issue
Block a user