Code base obscuration (for images) 1.0
It implements different obscuration methods on portable images (.pgm and .ppm)
Loading...
Searching...
No Matches
Paillier_public_key.hpp
Go to the documentation of this file.
1
10#ifndef PAILLIER_PUBLIC_KEY
11#define PAILLIER_PUBLIC_KEY
12
13#include <cstdint>
14
24{
25public:
41 PaillierPublicKey(uint64_t n, uint64_t g);
42
50 uint64_t getN() const;
58 uint64_t getG() const;
66
67private:
68 uint64_t n;
69 uint64_t g;
70};
71#endif // PAILLIER_PUBLIC_KEY
Class representing the public key in the Paillier cryptosystem.
Definition Paillier_public_key.hpp:24
uint64_t getN() const
Getter method for the n value.
Definition Paillier_public_key.cpp:29
PaillierPublicKey()
Default constructor for the PaillierPublicKey class.
Definition Paillier_public_key.cpp:18
uint64_t getG() const
Getter method for the g value.
Definition Paillier_public_key.cpp:34
~PaillierPublicKey()
Destructor for the PaillierPublicKey class.
Definition Paillier_public_key.cpp:39