I would like to ask if the analyst decrypts the aggregated ciphertext through key conversion, and is there a code example here?Is proxy reencryption used for key conversion? Is there an example of multi party proxy reencryption.Can the reencrypted key be serialized?
int num_of_hops = 2;
usint batchSize = 8192;
CCParams<CryptoContextCKKSRNS> parameters;
parameters.SetMultiplicativeDepth(1);
parameters.SetScalingModSize(40);
parameters.SetSecurityLevel(HEStd_128_classic);
usint qmodulus = 218;
parameters.SetRingDim(16384);
parameters.SetPREMode(INDCPA);
parameters.SetKeySwitchTechnique(BV);
parameters.SetMultiHopModSize(qmodulus);
parameters.SetBatchSize(batchSize);
CryptoContext<DCRTPoly> cryptoContext = GenCryptoContext(parameters);
cryptoContext->Enable(PKE);
cryptoContext->Enable(KEYSWITCH);
cryptoContext->Enable(LEVELEDSHE);
cryptoContext->Enable(PRE);
cryptoContext->Enable(ADVANCEDSHE);
cryptoContext->Enable(MULTIPARTY);
error as follows:
The decryption failed because the approximation error is too high. Check the parameters.