Skyscraper: Fast Hashing on Big Primes
Arithmetic hash functions defined over prime fields have been actively developed and used in verifiable computation (VC) protocols. Among those, ellipticcurve- based SNARKs require large (256-bit and higher) primes. Such hash functions are notably slow, losing a factor of up to 1000 compared to regular constructions like SHA-2/3.In this paper, we present the hash function Skyscraper, which is aimed at large prime fields and provides major improvements compared to Reinforced Concrete and Monolith. First, the design is exactly the same for all large primes, which simplifies analysis and deployment. Secondly, it achieves a performance comparable to cryptographic hash standards by using low-degree non-invertible transformations and minimizing modulo reductions. Concretely, it hashes two 256-bit prime field (BLS12-381 curve scalar field) elements in 135 nanoseconds, whereas SHA-256 needs 42 nanoseconds on the same machine.The low circuit complexity of Skyscraper, together with its high native speed, should allow a substantial reduction in many VC scenarios, particularly in recursive proofs.
Authors
- Clémence Bouvier (ORCID: https://orcid.org/0000-0002-9554-9543)
- Dmitry Khovratovich
- Christian Rechberger (ORCID: https://orcid.org/0000-0003-1280-6020)
- Markus Schofnegger
- Lorenzo Grassi (ORCID: https://orcid.org/0000-0003-1140-0520)
- Fabian Schmid (ORCID: https://orcid.org/0000-0002-5024-7373)
- Katharina Koschatko (ORCID: https://orcid.org/0009-0003-3109-146X)
Institutions
- Centre National de la Recherche Scientifique (FR)
- University of Luxembourg (LU)
- Graz University of Technology (AT)
- Link Consulting (PT)
- Prognos (Switzerland) (CH)
- Laboratoire Lorrain de Recherche en Informatique et ses Applications (FR)
- State Key Laboratory of Cryptology (CN)
- LEK Consulting (United States) (US)
- Ruhr University Bochum (DE)
Publication Details
- Journal
- IACR Transactions on Cryptographic Hardware and Embedded Systems
- Published
- 2025-03-04
- DOI
- https://doi.org/10.46586/tches.v2025.i2.743-780
- Primary Topic
- Algorithms and Data Compression
- Type
- article
- Field-Weighted Citation Impact
- 0.00