Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Macros
Pages
elgamal
ciphertext.hpp
Go to the documentation of this file.
1
12
#ifndef _CIPHERTEXT_H_
13
#define _CIPHERTEXT_H_
14
15
16
#include "../arithm/arithm.hpp"
17
#include "../verifierutils/verifierutils.hpp"
18
19
namespace
elGamal {
20
21
22
// forward declaration
23
class
CipherGroup;
24
25
30
class
CipherText
31
{
32
private
:
36
arithm::Elmt
u
;
37
41
arithm::Elmt
v
;
42
43
public
:
48
CipherText
(
verifierUtils::ByteTree
* bt,
CipherGroup
c);
49
53
CipherText
(
arithm::Elmt
left,
arithm::Elmt
right);
54
59
verifierUtils::ByteTree
*
toByteTree
();
60
64
arithm::Elmt
getU
();
65
69
arithm::Elmt
getV
();
70
71
};
72
73
}
// closing namespace
74
75
#endif