KeyGeneration_for_CKKS_scheme

Hi guys,
I wanna test key generation ( both public and secret key ) and parameters selection using CKKS scheme. Under the examples repository, most of files I have found represent functions (addition, multiplication, rotation…) we can apply using CKKS.
Any help PLEASE !!

What is the method used to generate keys ?

Has this been resolved?


Are the printed public and secret keys the values of the public and secret keys themselves, or are they the addresses in memory where these keys are stored?

Addresses! If you look up their underlying implementation you’ll find that they are actually smart pointers :slight_smile:

Click on the “private key” or “public key” (from Template Class KeyPair — OpenFHE documentation) and you should be redirected to smth like Typedef lbcrypto::PublicKey — OpenFHE documentation where it is shown that PublicKey = std::shared_ptr<PublicKeyImpl<Element>>