♻️ 使用 DigestUtils 替代 Md5Utils

pull/29/head
smallbun 2023-08-14 22:43:55 +08:00
parent 414bfcd5aa
commit 9c022bd49f
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
*/
package cn.topiam.employee.synchronizer.configuration;
import cn.topiam.employee.support.util.Md5Utils;
import org.apache.commons.codec.digest.DigestUtils;
/**
* IdentitySourceBeanUtils
@ -34,6 +34,6 @@ public class IdentitySourceBeanUtils {
* @return {@link String}
*/
public static String getSourceBeanName(String id) {
return "identitySourceBean_" + Md5Utils.md516(id);
return "identitySourceBean_" + DigestUtils.md5Hex(id);
}
}