1. Describe hash functions with your own words
A hash function is a one-time output that cannot be traced, compared to a function. It is a one-way function.
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 function are used in transactions and mining of Bitcoin. In order to mine bitcoins, computers need to solve complex arithmetic problem.
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).
âItâs vital that two different inputs donât have the same hash output; this is imperative to digital safety. While mathematically this is possible, itâs best if the odds are astronomically long for two different inputs to end up with the same output. In the event two distinct inputs have the same output, itâs referred to as a cryptographic hash collision, making it imperative for a hash to have a strong collision resistance. Otherwise, the algorithm will be vulnerable to collision attacks, which threatens security. Collision resistance is born of two other forms of resistanceâ
https://bitcoinexchangeguide.com/bitcoin-hash-functions/