Not so random number generator

The thing about random maps is they are not truly random. You see players like to be able to use seed numbers to reproduce the maps. Entering the same seed number needs to exactly reproduce the same map. So how do you create a random but not random map? Games like Minecraft use a variation of Perl Noise. I though have thought of a different approach and have created a random number generator. Well I use the world random loosely. Basically when you initialize the generator an array of random numbers are created. Then when you want to generate a random number you need to give it some data. This data can be anything, usually it is linked to the location in the world. The random number generator will then generate the same random number based on the data you give it. That way I can reproduce an identical map based on the generators seed.

Not so random number generator