In continuation to this question about length of primes , I am in doubt about the restriction on length of primes itself .
In Paillier cryptosystem , equal length of primes are used .
My doubt is whether this restriction is to ensure the following condition only
$$\gcd(pq,(p-1)(q-1))=1$$
or , there are another security reasons that makes the equal length condition mandate .
I mean, in cryptosystems like RSA, approximately equal length primes are generally preferred for security reasons , If the length is more than specified value, then cryptosystem is not secure.
Is it the same case in paillier cryptosysyem too or not ?