[#MessageHash]
= MessageHash
:mrdocs:

Hashes a message for signing and verification in a manner that prevents inadvertently signing a transaction&period;

== Synopsis

Declared in `&lt;common&sol;signmessage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:uint256.adoc[uint256]
MessageHash(std::string const& message);
----

== Return Value

The hash of the message combined with the message magic&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *message*
| The message to hash&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
