- Describe hash functions with your own words
Each input has its unique output or finger print. Data integrity because if you change input and you hash it delivers a different output.
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).
Blocks in bitcoin are linkend to each other by using the hash256. Input are the public adres of the previous block and a merkle tree were transactions are hashed to 1 fingerprint.
- 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).
Collision resistant in means that it is highly unlikely (but not mathematically imposable) to get the same output from a hash function.