4. What is a hash function and what is a one-way hash function? (20%)