Invertible pseudo random number generator

822 Views Asked by At

I want to create a random sequence using a given seed. However when given a sequence I also want to calculate the seed which produces the sequence.

Of course this is not possible using a "true" random number generator. But it should be possible using a pseudo random number generator.

As far as I understand I am looking for a deterministic sequence that appears to be random.

Can someone hint me to such a sequence or something similar which produces a nearly random sequence but is invertible?