Hash

Compute the 256-bit hash of the concatenation of two objects.

Synopsis

Declared in <hash.h>

template<
    typename T1,
    typename T2>
uint256
Hash(
    T1 const& in1,
    T2 const& in2);

Return Value

The 256-bit double-SHA-256 hash of the two objects concatenated.

Parameters

NameDescription
in1The first object to hash.
in2The second object to hash.