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