# Why hash function are used in digital signatures? [duplicate]

In the lectures I see, hash functions are always used when we want to sign a document $d$. My question is why they are used in digital signatures? Maybe, because it is more easy and fast to calculate the signature when is used a "block" signature scheme? Do you know some formal paper or book where this is described? I need that for my thesis.