I want to use the MurmurHash2 algorithm (32bit) for download verification in a Java application. There exist various implementations on GitHub, but I want to use a MessageDigest implementation, as I am interested in how to "translate" a hashing algorithm in this way and it would offer the possibility to use a DigestInputStream to calculate hashes "on the fly" while downloading.
My Question: Is this straightforward/easily done? Is it impossible? Can you point me to further resources how to do this?