Really,
If it works, how can it truley be random? :???:
Assume you meant a computer random number generator: There is no one RNG used in all systems but programmers/developers either buy one from a software library or build their own. Essentially they all work on the same principle, applying a math function to a number(the Seed) resulting in another number within the range of expect results. There are many ways one can accomplish that task. The very best have equal probability of kicking out every number in the result range.
Getting the seed is where the illusion of randomness is achieved. The seed could be generated from the number of bytes found in the windows temp directory or milliseconds passed since the system was last started. Or the average amount of time between key strokes or just the time of day. Or just about anything which is not easily controlled.
There are a lot of ways to make it appear an RNG is truly random but the exact same set of inputs will always produce the same results. In the end however, an RNG can be "virtually" random if the seed generator is good enough. Imagine a seed number generated based on the number of characters posted on this forum over the past 10 minutes.