murmur
murmur copied to clipboard
Murmur for files
Could you provide any way to calculate a murmur hash code from a long file.
Using traditional MessageDigest in java, we are reading the file incrementally:
while ((bytesCount = fis.read(byteArray)) != -1) {
digest.update(byteArray, 0, bytesCount);
}
// Get the hash's bytes
byte[] bytes = digest.digest();
Any ideas?