code: private MessageDigest getMessageDigest(Algorithms algorithms) {
          try {
              return MessageDigest.getInstance(algorithms.getAlgorithms());
          } catch (NoSuchAlgorithmException exception) {
              throw new SecureException("当前系统没有指定的算法提供者:[" + "" + "]", exception);
          }
      }
docs: 获取指定算法对应的MessageDigest
  
  @param algorithms 算法
  @return MessageDigest