123456789101112131415161718 |
- #ifndef __EG_CIPHERTEXT_HPP
- #define __EG_CIPHERTEXT_HPP
- #include "Curvepoint.hpp"
- class EGCiphertext {
- public:
- EGCiphertext();
- EGCiphertext(const Curvepoint& mask, const Curvepoint& encryptedMessage);
- Curvepoint mask;
- Curvepoint encryptedMessage;
- bool operator==(const EGCiphertext& other) const;
- friend std::ostream& operator<<(std::ostream& os, const EGCiphertext& output);
- friend std::istream& operator>>(std::istream& is, EGCiphertext& input);
- };
- #endif
|