wrote a simple Hash() function to bring back erasure tests