PowerAdvocate interview question

How does a hash work?