As stated in the title, what I am looking for is information about a "technique" that I would like to use in some of my algorithms.
Sometimes I need to map a hash function's result into a range of numbers that is not as large as the hash function's codomain; to do so I use the modulo operator. I take the hash function's output and treat it as an integer; then to this integer I apply the modulo operation $$h(x)\bmod n\text,$$ where $n$ is the excluded upper bound of the allowed numeric range $\{0,\dots,n-1\}$.
Now what I would like to understand is if this leads to some security risk, other than the fact that the obtained "hash" size is smaller (so a brute-force attack is easier), for instance that a modulus operator could break randomness of the hash function in some way.
Thanks in advance for clarification.