fix 处理可能有未加密数据传入解密中
This commit is contained in:
+5
-1
@@ -143,7 +143,11 @@ public class PasswordUtil {
|
|||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
// TODO: handle exception
|
// TODO: handle exception
|
||||||
}
|
}
|
||||||
return new String(passDec);
|
if (passDec == null){
|
||||||
|
return ciphertext;
|
||||||
|
}else {
|
||||||
|
return new String(passDec);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user