Expand description
This module implements Rescue hash function over the following fields
- bls12_377 base field
- ed_on_bls12_377 base field
- ed_on_bls12_381 base field
- ed_on_bn254 base field
It also has place holders for
- bls12_381 base field
- bn254 base field
- bw6_761 base field
Those three place holders should never be used.
Modules§
- Implements a rescue hash based commitment scheme.
- A rescue CRHF implementation
- A rescue PRF implementation
- This file contains the APIs wrappers for ark-sponge
Structs§
- Rescue pseudo-random permutation (PRP) instance
- Instance of a unkeyed cryptographic permutation to be used for instantiation hashing, pseudo-random function, and other cryptographic primitives
- A matrix that consists of
STATE_SIZE
number of rescue vectors. - Data type for rescue prp inputs, keys and internal data
Enums§
- Rescue error type
Constants§
- The rate of the sponge used in RescueCRHF.
- The # of rounds of rescue hash.
- The state size of rescue hash.
Traits§
- This trait defines constants that are used for rescue hash functions.