Score:1

Find a prime $p$ vulnerable to pohlig-Hellman

kg flag

I need to find a prime number $p$ with the following constraints:

  • $p$ is at least $1000$ bits long
  • $p-1$ is a smooth number with the largest factor below $1000$
  • any factor of $p-1$ can be present multiple times

Does this number exist? and if yes, does there is an algorithm to find it?

fgrieu avatar
ng flag
Welcome to crypto-SE. This looks like homework, thus I'll only give a (strong) hint: propose a simple algorithm that constructs randomly-seeded $r$ with the characteristics asked for $p-1$ (including size), ignoring for now the requirement that $p$ is prime; then derive using the [Prime Number Theorem](https://en.wikipedia.org/wiki/Prime_number_theorem) a plausible lower bound for the probability that $p=r+1$ is prime, and from that a rough plausible higher bound of the expected cost of the now obvious probabilistic algorithm. It's smart to answer your own question.
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.