#include "EGCiphertext.hpp" bool EGCiphertext::operator==(const EGCiphertext& other) const { return mask == other.mask && encryptedMessage == other.encryptedMessage; } std::ostream& operator<<(std::ostream& os, const EGCiphertext& output) { os << output.mask << output.encryptedMessage; return os; } std::istream& operator>>(std::istream& is, EGCiphertext& input) { is >> input.mask >> input.encryptedMessage; return is; }