| | |
| | | package com.lf.server.service.data; |
| | | |
| | | import com.lf.server.entity.ctrl.DownloadReqEntity; |
| | | import com.lf.server.entity.ctrl.PwdEntity; |
| | | import com.lf.server.entity.all.AbstractPwdEntity; |
| | | import com.lf.server.entity.data.DownloadEntity; |
| | | import com.lf.server.entity.show.PipelineEntity; |
| | | import com.lf.server.helper.*; |
| | |
| | | * @param entity 密码抽象类 |
| | | * @return 是/否解密成功 |
| | | */ |
| | | public static boolean decryptPwd(PwdEntity entity) { |
| | | public static boolean decryptPwd(AbstractPwdEntity entity) { |
| | | try { |
| | | String pwd = RsaHelper.decrypt(entity.getPwd()); |
| | | if (StringHelper.isEmpty(pwd)) { |