May I ask if the homomorphic comparison scheme in this article has been implemented in OpenFHE

May I ask if the homomorphic comparison scheme in this article(Optimization of Homomorphic Comparison Algorithm on RNS-CKKS Scheme) has been implemented in OpenFHE?

No, it is not part of OpenFHE.

@kenan You might want look at a prior FHERMA challenge: https://fherma.io/challenges/652bf668485c878710fd020a/overview and the winning solution published at polycircuit/cpp/src at main · fairmath/polycircuit · GitHub It provides an implementation of the comparison [signum] using CKKS (a different method than in the cited paper though).

1 Like

Okay, can you briefly explain how to use it ( polycircuit/cpp/src at main · fairmath/polycircuit · GitHub )? The code doesn’t have comments, and I don’t quite understand it.

The explanation behind the solution is given here.