Describe hash functions with your own words
An hash function basically has an input and an output.
The output is a sort of “digital univoque fingerprint” of the input.
It is a unidirectional function, so it’s impossible to give back the input starting from the output.
How are hash functions used in cryptocurrencies like bitcoin?
Hash function are basically used to protect datas. Datas are mathematically, through an algorithm, converted into digital strings
What does it mean when we say that hash functions need to be collision resistant?
When an hash functions is collision resistant means that is nearly impossible (low probability) to find two inputs that hash to the same output (A collision)