Broker Consulting interview question

What is the difference between hash and cipher?