c1 = cc.Encrypt(keys.publicKey, ptx1)
In python wrapper by calling methode:
c1.GetElements()
i get error: ‘openfhe.Ciphertext’ object has no attribute ‘GetElements’
In openfhe development this methode works
@evgen Some functions, that are available in the C++ library, are not exposed in openfhe-python to make the library more user-friendly.
You could find all ciphertext function descriptions at Ciphertext — openfhe-python 0.8.0 documentation.
1 Like
ok, python wrapper is really user-friendly, but some functions are esssentially(in my opinion)
I’ve added an issue for this to the Python wrapper repo: Expose GetElements() method for Ciphertext · Issue #161 · openfheorg/openfhe-python · GitHub
@evgen The issue has been closed. The current design of openfhe-python does not require this method as the DCRTPoly elements are used internally only and don’t need to be exposed anymore. It is a better software engineering solution.
1 Like