Allow hashing and checking an empty string