Paper 2023/1560

Check Alternating Patterns: A Physical Zero-Knowledge Proof for Moon-or-Sun

Samuel Hand, University of Glasgow
Alexander Koch, Paris Cit´e University
Pascal Lafourcade, University Clermont Auvergne
Daiki Miyahara, University of Electro-Communications, National Institute of Advanced Industrial Science and Technology
Léo Robert, University of Limoges
Abstract

A zero-knowledge proof (ZKP) allows a party to prove to another party that it knows some secret, such as the solution to a difficult puzzle, without revealing any information about it. We propose a physical zero-knowledge proof using only a deck of playing cards for solutions to a pencil puzzle called \emph{Moon-or-Sun}. In this puzzle, one is given a grid of cells on which rooms, marked by thick black lines surrounding a connected set of cells, may contain a number of cells with a moon or a sun symbol. The goal is to find a loop passing through all rooms exactly once, and in each room either passes through all cells with a moon, or all cells with a sun symbol. Finally, whenever the loop passes from one room to another, it must go through all cells with a moon if in the previous room it passed through all cells with a sun, and visa-versa. This last rule constitutes the main challenge for finding a physical zero-knowledge proof for this puzzle, as this must be verified without giving away through which borders the loop enters or leaves a given room. We design a card-based zero-knowledge proof of knowledge protocol for Moon-or-Sun solutions, together with an analysis of their properties. Our technique of verifying the alternation of a pattern along a non-disclosed path might be of independent interest for similar puzzles.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Published elsewhere. IWSEC 2023
DOI
10.1007/978-3-031-41326-1_14
Keywords
Physical Zero-knowledge ProofPencil PuzzleCard-based CryptographyMoon-or-SunNikoli Puzzle
Contact author(s)
miyahara @ uec ac jp
History
2023-10-13: approved
2023-10-10: received
See all versions
Short URL
https://ia.cr/2023/1560
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2023/1560,
      author = {Samuel Hand and Alexander Koch and Pascal Lafourcade and Daiki Miyahara and Léo Robert},
      title = {Check Alternating Patterns: A Physical Zero-Knowledge Proof for Moon-or-Sun},
      howpublished = {Cryptology ePrint Archive, Paper 2023/1560},
      year = {2023},
      doi = {10.1007/978-3-031-41326-1_14},
      note = {\url{https://eprint.iacr.org/2023/1560}},
      url = {https://eprint.iacr.org/2023/1560}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.