Diff with hash functionality