|
Code base obscuration (for images) 1.0
It implements different obscuration methods on portable images (.pgm and .ppm)
|
Class representing the private key in the Paillier cryptosystem. More...
#include <Paillier_private_key.hpp>
Public Member Functions | |
| PaillierPrivateKey () | |
| Default constructor for the PaillierPrivateKey class. | |
| PaillierPrivateKey (uint64_t l, uint64_t m) | |
| Constructor for the PaillierPrivateKey class. | |
| PaillierPrivateKey (uint64_t l, uint64_t m, uint64_t n) | |
| Constructor for the PaillierPrivateKey class. | |
| uint64_t | getLambda () const |
| Getter method for the lambda value. | |
| uint64_t | getMu () const |
| Getter method for the mu value. | |
| uint64_t | getN () const |
| Getter method for the n value. | |
| ~PaillierPrivateKey () | |
| Destructor for the PaillierPrivateKey class. | |
Class representing the private key in the Paillier cryptosystem.
This class contains the lambda, mu, and n values necessary for decryption in the Paillier cryptosystem. It provides getter methods for these values.
| PaillierPrivateKey::PaillierPrivateKey | ( | ) |
Default constructor for the PaillierPrivateKey class.
Initializes lambda and mu to 0.
| PaillierPrivateKey::PaillierPrivateKey | ( | uint64_t | l, |
| uint64_t | m ) |
Constructor for the PaillierPrivateKey class.
Initializes lambda and mu with the given values.
| l | The lambda value. |
| m | The mu value. |
| PaillierPrivateKey::PaillierPrivateKey | ( | uint64_t | l, |
| uint64_t | m, | ||
| uint64_t | n ) |
Constructor for the PaillierPrivateKey class.
Initializes lambda, mu, and n with the given values.
| l | The lambda value. |
| m | The mu value. |
| nn | The n value. |
| PaillierPrivateKey::~PaillierPrivateKey | ( | ) |
Destructor for the PaillierPrivateKey class.
Frees any resources used by the class.
| uint64_t PaillierPrivateKey::getLambda | ( | ) | const |
Getter method for the lambda value.
Returns the lambda value.
| uint64_t PaillierPrivateKey::getMu | ( | ) | const |
Getter method for the mu value.
Returns the mu value.
| uint64_t PaillierPrivateKey::getN | ( | ) | const |
Getter method for the n value.
Returns the n value.