1. Describe hash functions with your own words
Hash function is a one way function meaning one can only go from input to output, not output to input.ā Furthermore, each unique input gives a unique output (digital finger print)
2. How are hash functions used in cryptocurrencies like bitcoin? (Try to research this on your own, we will cover this later in the course but challenge yourself and see if you can find information on this already now).
Hash functions are used a s a part of the block hashing algorithm. This is used to input new transactions into the blockchain via mining
3. What does it mean when we say that hash functions need to be collision resistant? (We didnāt use the term ācollision resistantā in the lecture, but you will easily find this on Google, we add this question intentionally to make you research information on your own, thatās how you learn best).
The need for having collision resistant hash functions would dramatically lessen (but not totally eradicate) the chances of having two unequal inputs reach duplicate outcomes. This is necessary for dramatically lessening the chances of cracking an outcome.