27 namespace graphene {
namespace protocol {
79 :checksum(checksum),text(text){}
81 uint32_t checksum = 0;
84 string serialize()
const;
memo_message(uint32_t checksum, const std::string &text)
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
std::string get_message(const fc::ecc::private_key &priv, const fc::ecc::public_key &pub) const
defines a message and checksum to enable validation of successful decryption
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
contains only the public point of an elliptic curve key.
void set_message(const fc::ecc::private_key &priv, const fc::ecc::public_key &pub, const string &msg, uint64_t custom_nonce=0)
an elliptic curve private key.
defines the keys used to derive the shared secret