I want a stateless deterministic pseudorandom generator.
Following number generation is deterministic, whenever I give $constantValue$, and index it will value $A$
$A = Hash(constantValue + index)$
$index$ ranges from $0$ to infinity.
It is a deterministic value generation, but I have to keep state (index) to avoid generation of one value more than once.
My question is how can I make it stateless ( I do not have to keep a right index to avoid generation of one value more than once.)
I want to avoid generating one number (A) more than once I have to keep right index (state).
At the same time, I want value generation to be deterministic.
State here can be considered as---Merkle Signature scheme is stateful signature scheme, but SPHINCS is a stateless signature scheme.
Note that hash and a constant value is mandatory to be part of a pseudorandom generation.