- From: <Nick_Van_den_Bleeken@inventivegroup.com>
- Date: Wed, 31 Oct 2007 16:53:37 +0100
- To: boyerj@ca.ibm.com, "public-forms " <public-forms@w3.org>
John,
Is it possible to add this examples to the fn-hmac section (7.8.4 The
hmac() Function)? This section currently doesn't contain any examples.
These examples come from the RFC 2104 - HMAC: Keyed-Hashing for Message
Authentication [1].
<example>
<eg><phrase diff="chg">hmac</phrase>('Jefe', 'what
do ya want for nothing?', 'SHA-1', 'hex')</eg>
<p>returns <code>
effcdf6ae5eb2fa2d27416d5f184df9c259a7c79</code>.</p>
<eg><phrase diff="chg">hmac</phrase>('Jefe', 'what
do ya want for nothing?', 'MD5', 'hex')</eg>
<p>returns <code>750c783e6ab0b503eaa86e310a5db738
</code>.</p>
<eg><phrase diff="chg">hmac</phrase>('Jefe', 'what
do ya want for nothing?', 'SHA-256', 'hex')</eg>
<p>returns <code>
5bdcc146bf60754e6a042426089575c75a003f089d2739839dec58b964ec3843</code></p
>
</example>
Regards,
Nick Van den Bleeken - Research & Development
Inventive Designers
Phone: +32 - 3 - 8210170
Fax: +32 - 3 - 8210171
Email: Nick_Van_den_Bleeken@inventivegroup.com
[1] http://www.faqs.org/rfcs/rfc2104.html
--------------------------------------------------
Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer
Received on Wednesday, 31 October 2007 15:53:49 UTC