Lune

EUROCRYPT2024Top-tier venue

Trapdoor Memory-Hard Functions

Benedikt Auerbach, Christoph U. Günther, Krzysztof Pietrzak

Abstract

Memory-hard functions (MHF) are functions whose evaluation provably requires a lot of memory. While MHFs are an unkeyed primitive, it is natural to consider the notion of trapdoor MHFs (TMHFs). A TMHF is like an MHF, but when sampling the public parameters one also samples a trapdoor which allows evaluating the function much cheaper.

Biryukov and Perrin (Asiacrypt'17) were the first to consider TMHFs and put forth a candidate TMHF construction called Diodon that is based on the Scrypt MHF (Percival, BSDCan'09). To allow for a trapdoor, Scrypt's initial hash chain is replaced by a sequence of squares in a group of unknown order where the order of the group is the trapdoor. For a length nn sequence of squares and a group of order NN, Diodon's cumulative memory complexity (CMC) is O(n2log⁡N)O(n^2\log N) without the trapdoor and O(nlog⁡(n)log⁡(N)2)O(n \log(n) \log(N)^2) with knowledge of it.

While Scrypt is proven to be optimally memory-hard in the random oracle model (Alwen et al., Eurocrypt'17), Diodon's memory-hardness has not been proven so far. In this work, we fill this gap by rigorously analyzing a specific instantiation of Diodon. We show that its CMC is lower bounded by Ω(n2log⁡nlog⁡N)\Omega(\frac{n^2}{\log n} \log N) which almost matches the upper bound. Our proof is based Alwen et al.'s lower bound on Scrypt's CMC but requires non-trivial modifications due to the algebraic structure of Diodon. Most importantly, our analysis involves a more elaborate compression argument and a solvability criterion for certain systems of Diophantine equations.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Sustained Space and Cumulative Complexity Trade-Offs for Data-Dependent Memory-Hard FunctionsJeremiah Blocki, Blake HolmanCRYPTO 2022 · 5 citations
  2. Bandwidth-Hard Functions: Reductions and Lower BoundsJeremiah Blocki, Ling Ren, Samson ZhouCCS 2018 · 17 citations
  3. Data-Dependent Memory-Hard Functions: Sustained Space and Cumulative Complexity Trade-Offs in the Parallel Random Oracle ModelJeremiah Blocki, Blake HolmanCRYPTO 2026
  4. Practical Graphs for Optimal Side-Channel Resistant Memory-Hard FunctionsJoël Alwen, Jeremiah Blocki, Benjamin HarshaCCS 2017 · 46 citations
  5. Enhanced Trapdoor Hashing from DDH and DCRGeoffroy Couteau, Aditya Hegde, Sihang PuEUROCRYPT 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines