Pergunta de entrevista da empresa Broker Consulting

What is the difference between hash and cipher?