[#TaggedHash] = TaggedHash :mrdocs: Return a HashWriter primed for tagged hashes (as specified in BIP 340). == Synopsis Declared in `<hash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:HashWriter.adoc[HashWriter] TaggedHash(std::string const& tag); ---- == Description The returned object will have SHA256(tag) written to it twice (= 64 bytes). A tagged hash can be computed by feeding the message into this object, and then calling HashWriter::GetSHA256(). == Return Value A HashWriter primed with the tag hash. == Parameters [cols="1,4"] |=== | Name| Description | *tag* | The tag string that identifies the hash domain. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#