Zum Hauptinhalt springen

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

NameTypeDescriptionDefined By
varvarResult variable name encode:hash
algorithmstringAlgorithm encode:hash
rawboolRaw binary format encode:hash

HMAC

NameTypeDescriptionDefined By
keystringKey encode:hash

Results:

BindingTypePredicate
varstringN/A

Examples

Example

<output>
<encode:hash algorithm="sha1" key="ixml">My name is iXML!</encode:hash>
</output>

<!-- f66b1452e6c9a6061bb9837a511470e06f23d9b5 -->