pub fn keygen<R: Rng>(&mut self, csprng: &mut R, _id: String) -> cl::BlindKeyPair<E> {
        let cp = self.cp.as_ref();
        let keypair = BlindKeyPair::<E>::generate(csprng, &cp.unwrap().pub_params.mpk, cp.unwrap().l);
        // print the keypair as well
        return keypair;
    }
///
/// keygen - takes as input public parameters and generates a digital signature keypair
///
takes as input public parameters and generates a digital signature keypair
takes as input public parameters and generates a digital signature keypair
pub fn keygen<R: Rng>(&mut self, csprng: &mut R, _id: String) -> cl::BlindKeyPair<E> {
        let cp = self.cp.as_ref();
        let keypair = BlindKeyPair::<E>::generate(csprng, &cp.unwrap().pub_params.mpk, cp.unwrap().l);
        // print the keypair as well
        return keypair;
    }
pub fn keygen < R : Rng > ( & mut self , csprng : & mut R , _id : String ) -> cl :: BlindKeyPair < E > { let cp = self . cp . as_ref ( ) ; let keypair = BlindKeyPair :: < E > :: generate ( csprng , & cp . unwrap ( ) . pub_params . mpk , cp . unwrap ( ) . l ) ; // print the keypair as well return keypair ; }
keygen - takes as input public parameters and generates a digital signature keypair
keygen - takes as input public parameters and generates a digital signature keypair
&mut self
csprng
&mut R
_id
String
&mut self
csprng
&mut R
_id
String