Rescue-Prime

About Rescue-Prime


Rescue-Prime

A hash function based on a cryptographic permutation optimized for advanced cryptographic protocols. The hash function is built only from the best understood components in symmetric key cryptography such as SPN structures and power maps. Efficiency without losing security.

Rescue-XLIX

The underlying cryptographic permutation allows designers to use Rescue’s efficiency for all kinds of applications. From encryption to message authentication, or both at the same time with authenticated encryption. Use the latest modes of operations whether they use sponges or block ciphers.

Faster Crypto

Rescue is optimized for advanced cryptographic protocols such as STARKs, SNARKs, and Multi-Party Computation. The design minimizes the number of nonlinear operations over large finite fields and incorporates clever antisymmetry to add strength without overhead. Only by understanding the cost metrics can one achieve real efficiency.

Field Adaptability

Rescue can work with any size of prime field. We made flexibility our main concern to make sure your application can benefit as well. Working with binary fields? Don’t worry we have made it our Vision to help you. Check out our work for more details!

PERFORMANCE


Performance of the Rescue hash functions for some standard parameters over STARKs, SNARKs, and MPC. The numbers assume a 100% security margin which can be lowered for even better efficiency!

Security (bits)Field Size (bits)Rate (bits)Area of AIR # R1CS Constraints# Mult.
80 80 160 156192384
80 160 320 135168336
128 128 256 228228280
128 256 512 207264252
256 128 512 456576560

RESOURCES AND PAPERS


Instance Generator,
https://github.com/KULeuven-COSIC/Marvellous
STARK-Friendly Hash Challenge,
https://starkware.co/hash-challenge/

The Original Works

Applications of Rescue

  • Eli Ben-Sasson, Lior Goldberg, David Levit: STARK Friendly Hash – Survey and Recommendation
  • Charlotte Bonte, Nigel P. Smart, Titouan Tanguy: Thresholdizing HashEdDSA: MPC to the Rescue
  • Bowe,  S.,  Grigg,  J.,  Hopwood,  D.: Halo:  Recursive  proof  composition  without  a trusted setup
  • Threadbare, B.: Distaff, https://github.com/GuildOfWeavers/distaff

Cryptanalysis

  • Tim Beyne, Anne Canteaut, Gregor Leander, María Naya-Plasencia, Léo Perrin, Friedrich Wiemer: On the security of the Rescue hash function
  • Anne Canteaut, Tim Beyne, Itai Dinur, Maria Eichlseder, Gregor Leander, Gaëtan Leurent, María Naya Plasencia, Léo Perrin, Yu Sasaki, Yosuke Todo: Report on the Security of STARK-friendly Hash Functions

CONTACT US


Do you want your application Rescued? Feel free to contact us!