How to output the public key of CKKS
When I was debugging the CKKS scheme, I specified the default_seed to generate the RandomGenerator, now I want to verify that the public key will be the same every time I start CKKS after specifying the default_seed, but now I don't know how to check the generated public key every time
Although fixing the random see can work, I recommend saving the public key and loading it every time. There is no method to directly compare two PublicKey objects, except for comparing every data member and polynomial coefficients.
Although fixing the random see can work, I recommend saving the public key and loading it every time. There is no method to directly compare two
PublicKeyobjects, except for comparing every data member and polynomial coefficients.
Yes, it is a very good way to save the pk and then load it, which solved a problem I had been having before, thank you very much for the suggestion