docs: public static byte[] getHash( Algorithm algorithm,
                                    InputStream stream ) throws NoSuchAlgorithmException, IOException {
          CheckArg.isNotNull(algorithm, "algorithm");
          return getHash(algorithm.digestName(), stream);
      }