Function dkg_gadget::dkg_modules::wt_frost::generate_party_key_ids
source · pub fn generate_party_key_ids(n: u32, k: u32) -> Vec<Vec<u32>>
Expand description
Returns a Vec of indices that denotes which indexes within the public key vector are owned by which party.
E.g., if n=4 and k=10,
let party_key_ids: Vec<Vec
In the above case, we go up from 0..=9 possible key ids since k=10, and we have 4 grouping since n=4. We need to generalize this below