src/utils/message.cpp
/**
 * @brief Convert the message to its array representation using an array of pairs
 *
 * @return std::map<std::string, std::string>
 **/
@brief Convert the message to its array representation using an array of pairs
@return std::map
@brief Convert the message to its array representation using an array of pairs @return std :: map
std::map<std::string, std::string> Ark::Crypto::Utils::Message::toArray() {
  return {
    {"publickey", this->publicKey.toString()},
    {"signature", BytesToHex(this->signature.begin(), this->signature.end())},
    {"message", this->message}
  };
}
std :: map < std :: string , std :: string > Ark :: Crypto :: Utils :: Message :: toArray ( ) { return { { " " , this -> publicKey . toString ( ) } , { " " , BytesToHex ( this -> signature . begin ( ) , this -> signature . end ( ) ) } , { " " , this -> message } } ; }
@brief Convert the message to its array representation using an array of pairs
 @return std::map<std::string, std::string>
@brief Convert the message to its array representation using an array of pairs @return std :: map<std :: string std :: string >