Code base obscuration (for images) 1.0
It implements different obscuration methods on portable images (.pgm and .ppm)
Loading...
Searching...
No Matches
Paillier_private_key.hpp
Go to the documentation of this file.
1
14#ifndef PAILLIER_PRIVATE_KEY
15#define PAILLIER_PRIVATE_KEY
16
17#include <cstdint>
18
27{
28public:
36
45 PaillierPrivateKey(uint64_t l, uint64_t m);
46
56 PaillierPrivateKey(uint64_t l, uint64_t m, uint64_t n);
57
65 uint64_t getLambda() const;
66
74 uint64_t getMu() const;
82 uint64_t getN() const;
83
91
92private:
93 uint64_t lambda;
94 uint64_t mu;
95 uint64_t n;
96};
97
98#endif // PAILLIER_PRIVATE_KEY
Class representing the private key in the Paillier cryptosystem.
Definition Paillier_private_key.hpp:27
uint64_t getMu() const
Getter method for the mu value.
Definition Paillier_private_key.cpp:41
uint64_t getN() const
Getter method for the n value.
Definition Paillier_private_key.cpp:46
~PaillierPrivateKey()
Destructor for the PaillierPrivateKey class.
Definition Paillier_private_key.cpp:51
PaillierPrivateKey()
Default constructor for the PaillierPrivateKey class.
Definition Paillier_private_key.cpp:18
uint64_t getLambda() const
Getter method for the lambda value.
Definition Paillier_private_key.cpp:36