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§
- commitment
- Implements a rescue hash based commitment scheme.
- crhf
- A rescue CRHF implementation
- prf
- A rescue PRF implementation
- sponge
- This file contains the APIs wrappers for ark-sponge
Structs§
- PRP
- Rescue pseudo-random permutation (PRP) instance
- Permutation
- Instance of a unkeyed cryptographic permutation to be used for instantiation hashing, pseudo-random function, and other cryptographic primitives
- Rescue
Matrix - A matrix that consists of
STATE_SIZE
number of rescue vectors. - Rescue
Vector - Data type for rescue prp inputs, keys and internal data
Enums§
- Rescue
Error - Rescue error type
Constants§
- CRHF_
RATE - The rate of the sponge used in RescueCRHF.
- ROUNDS
- The # of rounds of rescue hash.
- STATE_
SIZE - The state size of rescue hash.
Traits§
- Rescue
Parameter - This trait defines constants that are used for rescue hash functions.