|
ComputeFHE 1.0
General-Purpose Privacy-Preserving Computation Library for TFHE
|
General template for Evector. More...
#include <Evector.h>


Public Member Functions | |
| Eitem< Einteger, uint64_t > | operator[] (const Einteger &index) |
| Access element using an encrypted index. | |
| template<typename Integral , typename = std::enable_if_t<std::is_integral_v<Integral>>> | |
| T & | operator[] (Integral idx) |
| Access element using a plaintext integral index. Overloads standard std::vector access to return a direct reference. | |
General template for Evector.
A vector container that supports element access via encrypted indices.
This class inherits from std::vector and provides overloaded operator[] to allow for "Oblivious Array Access". When an encrypted index is used, it returns an Eitem proxy.
Access element using an encrypted index.