【fix sonar】AesEncryptUtil文件
This commit is contained in:
+2
-2
@@ -89,7 +89,7 @@ public class AesEncryptUtil {
|
|||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public static String encrypt(String data) throws Exception {
|
public static String encrypt(String data) {
|
||||||
return encrypt(data, KEY, IV);
|
return encrypt(data, KEY, IV);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -99,7 +99,7 @@ public class AesEncryptUtil {
|
|||||||
* @return
|
* @return
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public static String desEncrypt(String data) throws Exception {
|
public static String desEncrypt(String data) {
|
||||||
return desEncrypt(data, KEY, IV);
|
return desEncrypt(data, KEY, IV);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user