7 #ifndef PRIVPOINTLOC_ENCRYPTOR_H 8 #define PRIVPOINTLOC_ENCRYPTOR_H 10 #include <helib/helib.h> 14 Encryptor(
const std::string &,
const std::string &,
long,
long,
long,
long,
long);
16 Encryptor(
const std::string &,
const std::string &,
long,
long,
long,
long,
long,
long);
18 Encryptor(
const std::string &,
const std::string &);
22 void testEncryption();
24 void decryptAndPrint(
const std::string &,
const helib::Ctxt &);
32 helib::Context *getContext()
const;
34 helib::SecKey *getSecretKey()
const;
36 helib::PubKey *getPublicKey()
const;
38 helib::EncryptedArray *getEncryptedArray()
const;
44 long plaintextModulus = 2;
50 long numOfBitsOfModulusChain = 500;
52 long numOfColOfKeySwitchingMatrix = 2;
54 long desiredSlotCount = 3000;
56 long securityLevel = 80;
58 helib::Context *context;
59 helib::SecKey *secret_key;
60 helib::PubKey *public_key;
61 helib::EncryptedArray *encrypted_array;
64 #endif //PRIVPOINTLOC_ENCRYPTOR_H Definition: Encryptor.h:12
void decryptAndPrintCondensed(const std::string &, const helib::Ctxt &, int)
Definition: Encryptor.cpp:199