English

Securely Computing the $n$-Variable Equality Function with $2n$ Cards

Cryptography and Security 2021-09-28 v6

Abstract

Research in the area of secure multi-party computation using a deck of playing cards, often called card-based cryptography, started from the introduction of the five-card trick protocol to compute the logical AND function by den Boer in 1989. Since then, many card-based protocols to compute various functions have been developed. In this paper, we propose two new protocols that securely compute the nn-variable equality function (determining whether all inputs are equal) E:{0,1}n{0,1}E: \{0,1\}^n \rightarrow \{0,1\} using 2n2n cards. The first protocol can be generalized to compute any doubly symmetric function f:{0,1}nZf: \{0,1\}^n \rightarrow \mathbb{Z} using 2n2n cards, and any symmetric function f:{0,1}nZf: \{0,1\}^n \rightarrow \mathbb{Z} using 2n+22n+2 cards. The second protocol can be generalized to compute the kk-candidate nn-variable equality function E:(Z/kZ)n{0,1}E: (\mathbb{Z}/k\mathbb{Z})^n \rightarrow \{0,1\} using 2lgkn2 \lceil \lg k \rceil n cards.

Cite

@article{arxiv.1911.05994,
  title  = {Securely Computing the $n$-Variable Equality Function with $2n$ Cards},
  author = {Suthee Ruangwises and Toshiya Itoh},
  journal= {arXiv preprint arXiv:1911.05994},
  year   = {2021}
}

Comments

A preliminary version of this paper has appeared at TAMC 2020

R2 v1 2026-06-23T12:15:35.222Z