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> = [ [0, 1, 2].to_vec(), [3, 4].to_vec(), [5, 6, 7].to_vec(), [8, 9].to_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