[#Hash-07]
= Hash
:mrdocs:

`Hash` overloads

== Synopses

Declared in `&lt;hash&period;h&gt;`

Compute the 256&hyphen;bit hash of an object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
xref:uint256.adoc[uint256]
xref:Hash-0d.adoc[Hash](T const& in1);
----

[.small]#xref:Hash-0d.adoc[_» more&period;&period;&period;_]#

Compute the 256&hyphen;bit hash of the concatenation of two objects&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename T1,
    typename T2&gt;
xref:uint256.adoc[uint256]
xref:Hash-0a.adoc[Hash](
    T1 const& in1,
    T2 const& in2);
----

[.small]#xref:Hash-0a.adoc[_» more&period;&period;&period;_]#

== Return Value

* The 256&hyphen;bit double&hyphen;SHA&hyphen;256 hash of the object&period;
* The 256&hyphen;bit double&hyphen;SHA&hyphen;256 hash of the two objects concatenated&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *in1*
| The object to hash&period;
| *in2*
| The second object to hash&period;
|===


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