[closed] Re: Proposed new step: p:hash

/ Norman Walsh <ndw@nwalsh.com> was heard to say:
| The p:hash step returns the hash of a value:
|
| <p:declare-step type="px:sha1">
|   <p:output port="result"/>
|   <p:option name="value" required="true"/>
|   <p:option name="algorithm" required="true"/>
| </p:declare-step>
|
| Returns a <c:result> containing the value hashed according to the requested
| algorithm. The 'SHA' and 'MD5' algorithms are required, others are
| implementation defined. It is a dynamic error to request an algorithm that
| is not supported.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Everything should be made as simple as
http://nwalsh.com/            | possible, but no simpler.

Received on Monday, 26 November 2007 17:36:53 UTC