docs: public static String copyStreamAndComputeSha1(final InputStream inputStream, final OutputStream outputStream)
              throws NoSuchAlgorithmException, IOException, InterruptedException {
          MessageDigest md = MessageDigest.getInstance("SHA-1");
          copyStream(inputStream, outputStream, md);
          return new String(encodeHex(md.digest()));
      }