Function modular_frost::tests::nonces::recover_key

source ยท
pub fn recover_key<C>(
    keys: &HashMap<Participant, ThresholdKeys<C>>,
) -> <C as Ciphersuite>::F
where C: Ciphersuite,
Available on crate feature tests only.
Expand description

Recover the secret from a collection of keys.

This will panic if no keys, an insufficient amount of keys, or the wrong keys are provided.