MCPcopy Create free account
hub / github.com/ElementsProject/elements / SHA256Uint256

Function SHA256Uint256

src/hash.cpp:82–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82uint256 SHA256Uint256(const uint256& input)
83{
84 uint256 result;
85 CSHA256().Write(input.begin(), 32).Finalize(result.begin());
86 return result;
87}
88
89CHashWriter TaggedHash(const std::string& tag)
90{

Callers 2

InitMethod · 0.85
SignatureHashFunction · 0.85

Calls 4

CSHA256Class · 0.85
FinalizeMethod · 0.45
WriteMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected