ZK-SecreC Documentation

2024.09

Module Prob

Function repetition_times

pub fn repetition_times ( prob_log : uint $pre @public, trustability_exponent : uint $pre @public ) -> uint[18446744073709551616] $pre @public

The number of times a computation must be repeated in order to achieve error probability less than the reciprocal of 2 raised to the power given as the second argument, provided that each iteration succeeds with error probability less than the reciprocal of 2 raised to the power of the first argument.