Fix hashing algorithm to use MD5 instead of object hash.

Fix for #46