Enter the seed that you would like to generate a number from. Seed is what you put in. Square is that number squared. Output is the random number that gets spit out.
How it works: The algorithm squares the seed. It then adjusts it to be 8 digits long by adding zeroes to the front of the number. It takes the middle 4 numbers out of it, and uses that as the output. It then sets the seed to the output. It repeats this twice again.