Does the prime modulus have to be bigger that the generator?
I suppose there is really no requirement to have $a &lt;b$. But then again, if you are using an $a&gt;b$ why not reduce it modulo $b$ and save space?