Hash
Anatomy
<encode:hash var="var" algorithm="md5" raw="bool" key="string">
string
</encode:hash>
Description: ENCODE:HASH generates the hash of a value according to a given algorithm.
Attributes
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | encode:hash |
| algorithm | string | Algorithm | encode:hash |
| raw | bool | Raw binary format | encode:hash |
HMAC
| Name | Type | Description | Defined By |
|---|---|---|---|
| key | string | Key | encode:hash |
Results:
| Binding | Type | Predicate |
|---|---|---|
| var | string | N/A |
Examples
Example
<output>
<encode:hash algorithm="sha1" key="ixml">My name is iXML!</encode:hash>
</output>
<!-- f66b1452e6c9a6061bb9837a511470e06f23d9b5 -->