Function dkg::tests::recover_key

source ยท
pub fn recover_key<C: Ciphersuite>(
    keys: &HashMap<Participant, ThresholdKeys<C>>,
) -> C::F
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.