Paper 2025/058 Original: eprint.iacr.org/2025/058 ↗

Skyscraper-v2: Fast Hashing on Big Primes

Clémence Bouvier
Lorenzo Grassi
Dmitry Khovratovich
Katharina Koschatko
Christian Rechberger
Fabian Schmid
Markus Schofnegger
Abstract

Arithmetic hash functions defined over prime fields have been actively developed and used in verifiable computation (VC) protocols. Among those, elliptic-curve-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-v2, 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 256 nanoseconds, which makes it faster than Poseidon2 by a factor of more than 15, and faster than the current performance-leader Reinforced Concrete by a factor of more than 5 in this scenario. The low circuit complexity of Skyscraper-v2, together with its high native speed, should allow a substantial reduction in many VC scenarios, particularly in recursive proofs.

Metadata
Available format(s)
PDF
Category
Secret-key cryptography
Publication info
Preprint.
History
2025-05-06: last updated
2025-01-14: published
Short URL
https://ia.cr/2025/058
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2025/058,
      author = {Clémence Bouvier and Lorenzo Grassi and Dmitry Khovratovich and Katharina Koschatko and Christian Rechberger and Fabian Schmid and Markus Schofnegger},
      title = {Skyscraper-v2: Fast Hashing on Big Primes},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/058},
      year = {2025},
      url = {https://eprint.iacr.org/2025/058}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.