darkfi_sdk::crypto::mimc_vdf

Function backward_mimc

Source
fn backward_mimc(num_steps: u64, input: &BigUint) -> BigUint
Expand description

Executes num_steps of MiMC-calculation in backward direction for the given input.

The properties of MiMC-scheme guarantees that calculation in backward direction is always slower than in forward for correctly chosen parameters.