U don`t need a fancy algorithm to generate a random number on a computer, a simple routine can do it. And it will be random where-ever or when-ever u run it.
It is an encryption thing, and I`d imagine the constants being the keys ? Keys meaning without them u can`t do whatever it is ?