/// Protocol step: Each receiver computes their own threshold secret key.
Protocol step: Each receiver computes their own threshold secret key.
Protocol step : Each receiver computes their own threshold secret key .
pub fn threshold_secret_keys(
        &self,
        transcript: &CLibTranscriptBytes,
    ) -> Vec<Option<ThresholdSecretKey>> {
        self.receiver_key_sets
            .iter()
            .map(|key_set| {
                compute_private_key(key_set.secret_key_bytes, transcript, self.dkg_id)
                    .expect("Could not load private key")
                    .map(|key_bytes| {
                        (&key_bytes)
                            .try_into()
                            .expect("Computed malformed threshold secret key")
                    })
            })
            .collect()
    }
pub fn threshold_secret_keys ( & self , transcript : & CLibTranscriptBytes , ) -> Vec < Option < ThresholdSecretKey > > { self . receiver_key_sets . iter ( ) . map ( | key_set | { compute_private_key ( key_set . secret_key_bytes , transcript , self . dkg_id ) . expect ( " " ) . map ( | key_bytes | { ( & key_bytes ) . try_into ( ) . expect ( " " ) } ) } ) . collect ( ) }
Protocol step: Each receiver computes their own threshold secret key.
Protocol step : Each receiver computes their own threshold secret key .
&self
transcript
&CLibTranscriptBytes