@Override
	public void write(int b) throws IOException {
		messageDigest.update((byte) (b & 0xff));
		out.write(b);
	}
@param out - OutputStream to wrap
@param hashAlgo - see {@link MessageDigest#getInstance(String)}, ie. "MD5".
@throws NoSuchAlgorithmException if no Provider supports a MessageDigestSpi implementation 
  for the specified algorithm
Ghidra/Framework/Utility/src/main/java/ghidra/util/HashingOutputStream.java