- Describe hash functions with your own words
A) A hash function is a one way function where you can put in an input and it will give you a unique output.
- 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).
A) A Hash function is used in Cryptos to get digital signatures. With each hash being able to produce its own unique key for any form of data, it allows these cryptos to keep data and transactions secure, safe, and efficient.
- 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).
A) Since certain cryptographic hash functions like SHA-256 can only have 256 digits. This means that mathematically speaking the chances of getting two different inputs with one same output is slim to none. This makes us collision resistant because you will never have two inputs collide into one same output