Homework on Hash Functions - Questions
-
Describe hash functions with your own words
Creating a unique output with a standard length from a unique input where it is ‘impossible’ to determine the original input -
How are hash functions used in cryptocurrencies like bitcoin?
Hash function is used in cryptocurrencies to uniquely identify a block in the blockchain. Any change in the data inside a block would cause a change in the hash for the block which makes it ‘impossible’ to change the data. It would break the chain. -
What does it mean when we say that hash functions need to be collision resistant? it means that it should not be possible to use the same input twice for hashing as the unique input will create unique output.