1.- A Hash function is a mathematical process in which we input something, it is operated, and it returns a fixed length of information.
2.- In BTC, a hash function works the following. We want to send some BTC to a friend, so we input the amount we´ll send, then we see how much it´s going to cost us sending that money, after that we authorize the transaction. That transaction later will be sent to the mining rig will be mined and just until then it will be added to the block. In BTC we have to keys, the public and private key. Both are necessary for the hash function. When a miner picks up the transaction from the Mining Rig, it´s the digest from the your private key and the message, so he will have to run the algorithm to figure out the Public key of the Wallet that sent the transaction. That´s what I have understood about the hash Function. If I´m wrong, can you be so kind to redirect me to the right path. Thanks
3.- By collision resistance we refer to the augmentation in the complexity to reduce the possibility of finding two different hash inputs which have the same hash output.