|
@@ -67,7 +67,7 @@ public class AESUtils {
|
|
|
|
|
|
private static SecretKey initSecretKey(String key) {
|
|
|
if (StringUtils.isEmpty(key)) {
|
|
|
- throw new IllegalArgumentException("secretKey must be not null");
|
|
|
+ throw new IllegalArgumentException("secretKey must be not empty");
|
|
|
}
|
|
|
|
|
|
byte[] keyBytes = key.getBytes();
|