Name

p:hash — The standard p:hash step.

Synopsis

<p:declare-step type="p:hash">
     <p:input port="source" primary="true"/>
     <p:output port="result"/>
     <p:input port="parameters" kind="parameter"/>
     <p:option name="value" required="true"/>                      <!-- string -->
     <p:option name="algorithm" required="true"/>                  <!-- QName -->
     <p:option name="match" required="true"/>                      <!-- XSLTMatchPattern -->
     <p:option name="version"/>                                    <!-- string -->
</p:declare-step>

Description

The p:hash step performs the standard hash functions.

XML Calabash supports an additional algorithm: cx:hmac which computes an RFC 2104-complaint HMAC signature. The signing key must be passed as a parameter named cx:accessKey.