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

Name

Description

in1

The first object to hash.

in2

The second object to hash.

Created with MrDocs