Time taken in hashing

How much time does it take in hashina a string of length n? If i am using unordered set then what is the time taken to hash a string internally??

Hey @govilayush
In case of unordered set it will take O(n) time