An Indexing for Quadratic Residues Modulo N and a Non-uniform Efficient Decoding Algorithm

Abstract

An indexing of a finite set S is a bijection D : \1,...,|S|\ → S. We present an indexing for the set of quadratic residues modulo N that is decodable in polynomial time on the size of N, given the factorization of N. One consequence of this result is a procedure for sampling quadratic residues modulo N, when the factorization of N is known, that runs in strict polynomial time and requires the theoretical minimum amount of random bits (i.e., (φ(N)/2r) bits, where φ(N) is Euler's totient function and r is the number of distinct prime factors of N). A previously known procedure for this same problem runs in expected (not strict) polynomial time and requires more random bits.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…