util-hash-data

<xsl:include href="../plugins/tenandtwo-xslt-processor/xsl/util.xsl" />

<xsl:call-template name="util-hash-data">
    <xsl:with-param name="method" select="$method" />
    <xsl:with-param name="data" select="$data" />
    <xsl:with-param name="raw_output" select="$raw_output" />
</xsl:call-template>

TEST 1 : PASS
util-hash-data :
– method = md5
– data = http://xsltproc.tenandtwo.com/
– raw_output = 0

result :
7b547cdaba126f1e182d1375c6ac4e70


TEST 2 : PASS
util-hash-data :
– method = sha512
– data = corn beef on rye
– raw_output = 0

result :
9c11cfe1363c710aca75c222a6ef957000954fc12705e20e4e01bed34cba446fa44f7da429bef272f5fa2f9be9386d32eff3dc6b7d72f6bee4bd30f1cf132a2a