Extracted interface for generating hashes to facilitate unit testing