concept cshake in category cryptography

This is an excerpt from Manning's book Real-World Cryptography.
This construction is so useful in cryptography, that one year after SHA-3 was standardized, NIST published Special Publication 800-185 [4] containing a customizable SHAKE called cSHAKE. cSHAKE is pretty much exactly like SHAKE, except that it also takes a customization string. This customization string can be empty, or can be any string you want. Let’s first see an example of using cSHAKE in pseudo-code:
cSHAKE(input="hello world", output_length=256, custom_string="my_hash") -> 72444fde79690f0cac19e866d7e6505c cSHAKE(input="hello world", output_length=256, custom_string="your_hash") -> 688a49e8c2a1e1ab4e78f887c1c73957As you can see, the two digests differ, even though cSHAKE is as deterministic as SHAKE and SHA-3. This is because a different customization string was used. A customization string thus allows you to customize your XOF! This is very useful in some protocols where, for example, different hash functions must be used. We call this domain separation. As a golden rule in cryptography: if the same cryptographic primitive is used in different use-cases, do not use it with the same key (if it takes a key) or/and apply domain separation. You will see more example of domain separation as we survey cryptographic protocols in later chapters.