Open radwasherif opened 6 years ago
Sorry for a late reply! We are preparing a small document essentially by compiling the comments in the API code. Regarding the bug, note that the fixed point encode and decode routines are not yet meant to work with slots. Currently, encryptFixedpt() and decryptFixedpt() routines provide interface only to the primitive publicKey.Encrypt() and publicKey.Decrypt() routines, respectively.
Can you produce a tutorial on how to use these functions with HElib. Whenever I try to use them I get this error: test_x: PAlgebra.cpp:464: void PAlgebraModDerived::embedInSlots(PAlgebraModDerived::RX&, const std::vector&, const MappingData&) const [with type = PA_GF2; PAlgebraModDerived::RX = NTL::GF2X; typename type::RX = NTL::GF2X]: Assertion `deg(alphas[i]) < mappingData.degG' failed.
Aborted (core dumped)
This is a snippet from my code: