Paper 2022/853

Hashing to Prime in Zero-Knowledge

Thomas Groß
Abstract

We establish a set of zero-knowledge arguments that allow for the hashing of a committed secret $a$-bit input $x$ to a committed secret $(k+1)$-bit prime number $p_x$. The zero-knowledge arguments can convince a verifier that a commitment indeed is the correctly generated prime number derived from $x$ with a soundness error probability of at most $2^{-k}+ 2^{-t}$ dependent on the number of zero-knowledge argument rounds $k$ and the number of primality bases $t$ to establish primality. Our constructions offer a range of contributions including enabling dynamic encodings for prime-based accumulator, signature and attribute-based credential schemes allowing to reduce these schemes' public key size and setup requirements considerably and rendering them extensible. While our new primality zero-knowledge arguments are of independent interest, we also show improvements on proving that a secret number is the product of two secret safe primes significantly more efficient than previously known results, with applications to setting up secure special RSA moduli.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2022/853,
      author = {Thomas Groß},
      title = {Hashing to Prime in Zero-Knowledge},
      howpublished = {Cryptology {ePrint} Archive, Paper 2022/853},
      year = {2022},
      url = {https://eprint.iacr.org/2022/853}
}
Category
Cryptographic protocols
License
CC BY-NC-ND
Submitted
Versions

Report a problem

Comments

Log in or create an account

Privacy