[#MessageSign] = MessageSign :mrdocs: Sign a message. == Synopsis Declared in `<common/signmessage.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool MessageSign( xref:CKey.adoc[CKey] const& privkey, std::string const& message, std::string& signature); ---- == Return Value true if signing was successful. == Parameters [cols="1,4"] |=== | Name| Description | *privkey* [in] | Private key to sign with. | *message* [in] | The message to sign. | *signature* [out] | Signature, base64 encoded, only set if true is returned. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#