Hash Functions
Describe hash functions with your own words
Is a one-way function that allows a unique input to produce a unique output that cannot be reversed engineered?
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).
In cryptocurrencies we wish to be able to eliminate the possibility of reversing a hash (Unique Output) to its original Unique Input data. This is a must for a cryptocurrency to exist. That is why we use SHA – 256 in the creation of Bitcoin which has high collision resistance. This maintains the one way requirement of Hash creation and eliminates the possibility of reverse engineering the output in to the Input data.
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 resistance is a property of cryptographic hash functions: The hash Property is to minimize (Bring to 0) the option of unique inputs that hash to the same output. a ≠ b but f ( a ) = f( b ). Any hash function with more inputs than outputs will necessarily have such collisions. The harder they are to find, the more cryptographically secure the hash function is. Example SHA – 256 which is used in Bitcoin.