public static String md5(String credentials, String saltSource) {
ByteSource salt = new Md5Hash(saltSource);
return new SimpleHash(hashAlgorithmName, credentials, salt,
hashIterations).toString();
}
MD5加密(笔记)
最新推荐文章于 2025-05-24 10:32:41 发布