Code base obscuration (for images) 1.0
It implements different obscuration methods on portable images (.pgm and .ppm)
Loading...
Searching...
No Matches
PaillierControllerStatG.hpp
Go to the documentation of this file.
1
11#ifndef PAILLIERCONTROLLER_Stat_G
12#define PAILLIERCONTROLLER_Stat_G
13
14#include <stdio.h>
16
25{
26public:
31
36
40 void init();
41
53 void checkParameters(char *arg_in[], int size_arg, bool param[]);
54
60 void printHelp();
61
62 /*********************** Chiffrement ***********************/
63
64 /************** 8bits **************/
72 void calc_encrypt_all_g();
73
80 void calc_encrypt_10_g();
81};
82#endif // PAILLIERCONTROLLER_Stat_G
Superclass, of Paillier main, that contain common methods between subclasses.
Superclass of Paillier main that contains common methods between subclasses.
Definition PaillierController.hpp:31
This class is used to perform statistical calculations on g in a Paillier cryptosystem.
Definition PaillierControllerStatG.hpp:25
void checkParameters(char *arg_in[], int size_arg, bool param[])
Check the parameters for the program performing statistical calculations on g.
Definition PaillierControllerStatG.cpp:32
void init()
Initialize the PaillierControllerStatG object.
Definition PaillierControllerStatG.cpp:19
void calc_encrypt_all_g()
Calculate the encryption of all g.
Definition PaillierControllerStatG.cpp:105
void calc_encrypt_10_g()
Calculate the encryption of 10 g.
Definition PaillierControllerStatG.cpp:244
void printHelp()
Print the manual of the program.
Definition PaillierControllerStatG.cpp:100
~PaillierControllerStatG()
Destroy the Paillier Controller Stat G object.
Definition PaillierControllerStatG.cpp:30
PaillierControllerStatG()
Construct a new Paillier Controller Stat G object.
Definition PaillierControllerStatG.cpp:25