// Generate an update rk_token that coverts ciphertexts from k1 to k2
Generate an update rk_token that coverts ciphertexts from k1 to k2
Generate an update rk_token that coverts ciphertexts from k1 to k2
fn rekeygen<Out: Write>(k1: Self::K, k2: Self::K, rk_out: &mut Out) -> Result<()> {
        // let rk = rekey_token(k1, k2);
        let rk = &k2 - &k1;
        rk.write_key(rk_out)
    }
fn rekeygen < Out : Write > ( k1 : Self :: K , k2 : Self :: K , rk_out : & mut Out ) -> Result < ( ) > { // let rk = rekey_token(k1, k2); let rk = & k2 - & k1 ; rk . write_key ( rk_out ) }
Generate an update rk_token that coverts ciphertexts from k1 to k2
Generate an update rk_token that coverts ciphertexts from k1 to k2
k1
Self::K
k2
Self::K
rk_out
&mut Out