Paper 2021/793

Property-Preserving Hash Functions for Hamming Distance from Standard Assumptions

Nils Fleischhacker, Ruhr University Bochum
Kasper Green Larsen, Aarhus University
Mark Simkin, Ethereum Foundation
Abstract

Property-preserving hash functions allow for compressing long inputs $x_0$ and $x_1$ into short hashes $h(x_0)$ and $h(x_1)$ in a manner that allows for computing a predicate $P(x_0, x_1)$ given only the two hash values without having access to the original data. Such hash functions are said to be adversarially robust if an adversary that gets to pick $x_0$ and $x_1$ after the hash function has been sampled, cannot find inputs for which the predicate evaluated on the hash values outputs the incorrect result. In this work we construct robust property-preserving hash functions for the hamming-distance predicate which distinguishes inputs with a hamming distance at least some threshold $t$ from those with distance less than $t$. The security of the construction is based on standard lattice hardness assumptions. Our construction has several advantages over the best known previous construction by Fleischhacker and Simkin (Eurocrypt 2021). Our construction relies on a single well-studied hardness assumption from lattice cryptography whereas the previous work relied on a newly introduced family of computational hardness assumptions. In terms of computational effort, our construction only requires a small number of modular additions per input bit, whereas the work of Fleischhacker and Simkin required several exponentiations per bit as well as the interpolation and evaluation of high-degree polynomials over large fields. An additional benefit of our construction is that the description of the hash function can be compressed to $\lambda$ bits assuming a random oracle. Previous work has descriptions of length $\mathcal{O}(\ell \lambda)$ bits for input bit-length $\ell$. We prove a lower bound on the output size of any property-preserving hash function for the hamming distance predicate. The bound shows that the size of our hash value is not far from optimal.

Note: Changed title as suggested by Eurocrypt 2022 reviewers.

Metadata
Available format(s)
PDF
Category
Foundations
Publication info
A minor revision of an IACR publication in EUROCRYPT 2022
Keywords
Property-Preserving Hash functions Hamming distance Post-Quantum
Contact author(s)
mail @ nilsfleischhacker de
larsen @ cs au dk
mark simkin @ ethereum org
History
2022-06-08: revised
2021-06-14: received
See all versions
Short URL
https://ia.cr/2021/793
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2021/793,
      author = {Nils Fleischhacker and Kasper Green Larsen and Mark Simkin},
      title = {Property-Preserving Hash Functions for Hamming Distance from Standard Assumptions},
      howpublished = {Cryptology {ePrint} Archive, Paper 2021/793},
      year = {2021},
      url = {https://eprint.iacr.org/2021/793}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.