Re: examples for 7.8.4 The hmac() Function (spec xml)

Spectacular.  Thanks for pulling this together.
It's in and uploaded to the editor's draft area now.

Cheers,
John M. Boyer, Ph.D.
STSM: Lotus Forms Architect and Researcher
Chair, W3C Forms Working Group
Workplace, Portal and Collaboration Software
IBM Victoria Software Lab
E-Mail: boyerj@ca.ibm.com 

Blog: http://www.ibm.com/developerworks/blogs/page/JohnBoyer





Nick_Van_den_Bleeken@inventivegroup.com 
10/31/2007 08:53 AM

To
John Boyer/CanWest/IBM@IBMCA, "public-forms " <public-forms@w3.org>
cc

Subject
examples  for 7.8.4 The hmac() Function (spec xml)






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 Thursday, 1 November 2007 04:51:23 UTC