Paper 2023/1560 Original: eprint.iacr.org/2023/1560 ↗

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

Samuel Hand
Alexander Koch
Pascal Lafourcade
Daiki Miyahara
Léo Robert
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
Preprint.
History
2023-10-10: last updated
2023-10-10: published
Short URL
https://ia.cr/2023/1560
License
https://creativecommons.org/licenses/by/4.0/

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},
      url = {https://eprint.iacr.org/2023/1560}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.