Chapter 10: Problem 11
Design an algorithm that takes as input a prime \(q\) and a bound \(m,\) and outputs a random prime \(p\) between 2 and \(m\) such that \(p \equiv 1(\bmod q) .\) Clearly, we need to assume that \(m\) is sufficiently large with respect to \(q\). Analyze your algorithm assuming Conjecture 5.22. State how large \(m\) must be with respect to \(q,\) and under these assumptions, show that your algorithm runs in time \(O\left(\ell^{4} / \operatorname{len}(\ell)+k \ell^{3}\right),\) and that its output is incorrect with probability \(O\left(4^{-k} \ell\right) .\) As usual, \(\ell:=\operatorname{len}(m)\)
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.