constructHashElement function
- HashFunction hash,
- String value
Helper method for building a
Implementation
XMLNode constructHashElement(HashFunction hash, String value) {
return XMLNode.xmlns(
tag: 'hash',
xmlns: hashXmlns,
attributes: {'algo': hash.toName()},
text: value,
);
}