OpenSquare: Decentralized Repeated Modular Squaring Service
Sri Aravinda Krishnan Thyagarajan, Tiantian Gong, Adithya Bhat, Aniket Kate, Dominique Schröder
Abstract
Repeated Modular Squaring is a versatile computational operation that has led to practical constructions of timed-cryptographic primitives like time-lock puzzles (TLP) and verifiable delay functions (VDF) that have a fast growing list of applications. While there is a huge interest for timed-cryptographic primitives in the blockchains area, we find two real-world concerns that need immediate attention towards their large-scale practical adoption: Firstly, the requirement to constantly perform computations seems unrealistic for most of the users. Secondly, choosing the parameters for the bound (T) seems complicated due to the lack of heuristics and experience. We present OpenSquare, a decentralized repeated modular squaring service, that overcomes the above concerns. OpenSquare lets clients outsource their repeated modular squaring computation via smart contracts to any computationally powerful servers that offer computational services for rewards in an unlinkable manner. OpenSquare naturally gives us publicly computable heuristics about a pre-specified number (T) and the corresponding reward amounts of repeated squarings necessary for a time period. Moreover, OpenSquare rewards multiple servers for a single request, in a sybil resistant manner to incentivise maximum server participation and is therefore resistant to censorship and single-points-of failures. We give game-theoretic analysis to support the mechanism design of OpenSquare: (1) incentivises servers to stay available with their services, (2) minimizes the cost of outsourcing for the client, and (3) ensures the client receives the valid computational result with high probability. To demonstrate practicality, we also implement OpenSquare's smart contract in Solidity and report the gas costs for all of its functions. Our results show that the on-chain computational costs for both the clients and the servers are quite low, and therefore feasible for practical deployments and usage.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Sleepy Channels: Bi-directional Payment Channels without Watchtowers cites Verifiable Timed Signatures Made Practical
- SoK: Distributed Randomness Beacons cites RandRunner: Distributed Randomness from Trapdoor VDFs with Strong Uniqueness
- Riggs: Decentralized Sealed-Bid Auctions cites RandRunner: Distributed Randomness from Trapdoor VDFs with Strong Uniqueness
Cited by top-tier papers3
- Sleepy Channels: Bi-directional Payment Channels without WatchtowersLukas Aumayr, Sri Aravinda Krishnan Thyagarajan, Giulio Malavolta, Pedro Moreno-Sanchez et al.CCS 2022 · 26 citations
- Riggs: Decentralized Sealed-Bid AuctionsNirvan Tyagi, Arasu Arun, Cody Freitag, Riad S. Wahby et al.CCS 2023 · 15 citations
- SoK: Distributed Randomness BeaconsKevin Choi, Aathira Manoj, Joseph BonneauS&P 2023
Builds on4
- FairSwap: How To Fairly Exchange Digital GoodsStefan Dziembowski, Lisa Eckey, Sebastian FaustCCS 2018 · 229 citations
- Fairness in an Unfair World: Fair Multiparty Computation from Public Bulletin BoardsArka Rai Choudhuri, Matthew Green, Abhishek Jain, Gabriel Kaptchuk et al.CCS 2017 · 130 citations
- Verifiable Timed Signatures Made PracticalSri Aravinda Krishnan Thyagarajan, Adithya Bhat, Giulio Malavolta, Nico Döttling et al.CCS 2020 · 58 citations
- RandRunner: Distributed Randomness from Trapdoor VDFs with Strong UniquenessPhilipp Schindler, Aljosha Judmayer, Markus Hittmeir, Nicholas Stifter et al.NDSS 2021
Related papers
- Separating Verifiable Delay Functions and Time-Lock PuzzlesHamza Abusalah, Nivesh Aggarwal, Karen Azari, Chethan Kamath et al.EUROCRYPT 2026 · 1 citation
- Cryptanalysis of Algebraic Verifiable Delay FunctionsAlex Biryukov, Ben Fisch, Gottfried Herold, Dmitry Khovratovich et al.CRYPTO 2024 · 7 citations
- TARDIS: A Foundation of Time-Lock Puzzles in UCCarsten Baum, Bernardo David, Rafael Dowsley, Jesper Buus Nielsen et al.EUROCRYPT 2021 · 42 citations
- Breaking Verifiable Delay Functions in the Random Oracle ModelZiyi Guan, Artur Riazanov, Weiqiang YuanCRYPTO 2025 · 3 citations
- Continuous Verifiable Delay FunctionsNaomi Ephraim, Cody Freitag, Ilan Komargodski, Rafael PassEUROCRYPT 2020 · 85 citations
