Hash function for unordered_set in C++ STL

I wanted to understand the underlying implementation of unordered_set, but unable to understand the working of the hash function.
Can anyone explain to me the working of the hash function?