Score:1

Does it weaken a RSA modulus to publish a generator of a small subgroup?

cn flag

Let $n = P\cdot Q$ be the product of two safe primes $P = 2p+1$ and $Q=2q+1$. Let $g$ be a generator of $C_{p} \subset \mathbb{Z}_n^*$, the multiplicative subgroup of order $p$. In other words, $g^p = 1 \pmod n$. (But $p$ is still secret of course.)

Would it weaken a RSA modulus if $g$ was public? It is easy to compute such a generator when $q$ is known, but seems hard otherwise.

Score:4
ru flag

Yes, because $g^p\equiv 1\pmod n$ implies that $g^p\equiv 1\pmod Q$. By Fermat's little theorem we also know that $g^{2q}\equiv 1\pmod Q$ and thus $g^{ap+b(2q)}\equiv 1\pmod q$ for all integer $a$ and $b$. If we assume that $P$ and $Q$ are distinct (and also avoid the trivial case $P=5$), then $p$ and $2q$ are coprime so that there exist $a$ and $b$ such that $ap+b(2q)=1$ and hence $g\equiv 1\pmod Q$. In this case $\mathrm{GCD}(g-1,n)=Q$.

If $P=Q$ then $n$ is a perfect square and can be quickly factorised. Likewise if $P=5$ trial division suffices.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.