# If I hash ABC123, where ABC123 appears five times inside the file, will each of the five instances of ABC123 appear as identical hash values? [closed]

If I hash the word SOUND, where the word SOUND appears five times inside the file, will each of the five instances of SOUND appear as identical hash values?

## closed as unclear what you're asking by yyyyyyy, forest, Maeher, Maarten Bodewes♦Feb 11 at 1:12

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Rather than waiting for someone else to answer, you could always try it and see what happens – Ella Rose Feb 7 at 19:06
• This will be the first time I have personally attempted it. Not sure how to test. – user65722 Feb 7 at 19:07
• There are plenty of web sites that will do this for you (obviously you would not use them if what you are hashing is supposed to remain secret, but that clearly doesn't apply here) – Ella Rose Feb 7 at 19:10
• The question is ambiguous. We do not know if you hash the file, which gives a single hash; or several times the same thing, which will give several times the same hash. – fgrieu Feb 7 at 19:29
• Or if you are hashing the hash of a hash ... etc 5 times – Ella Rose Feb 7 at 19:31

Hash functions are operating from $$H:\{0,1\}^* \to \{0,1\}^n$$ where $$n$$ is the output size. So, if you hash a text file you will get only $$n$$-bit result.
 fd8b11a88ea2ef299d4fec6608d4c48a9b6f535e