Where's the source code of random(min,max) in index.hsp

Hi to all!

I am a student majoring in web security, I have been researching the mechanism of generating random numbers in CSP recently, but I cannot find the source code of ‘random(min,max)’ in index.hsp. Can someone give me a hint?

Thx and with best regards