MD5加密(笔记)

  public static String md5(String credentials, String saltSource) {
		            ByteSource salt = new Md5Hash(saltSource);
		            return new SimpleHash(hashAlgorithmName, credentials, salt,                 
                            hashIterations).toString();
  }

猜你喜欢

转载自blog.csdn.net/qq_31362105/article/details/84989336
今日推荐