ServiceNow interview question

How hashing strings works