Hi Christoph,
We are implementing a security concept based on bitwise operators, too. I am very interested in your progress on this topic.
The bitwise operators BITAND, BITOR, BIT... , etc are nice but if we can not use them in an aggregation it is not enough. I think you had the same problem.
Any response would be awesome.
Best,
Mathias