On Wed Jul 11 15:59:39 2007, Peter Saint-Andre wrote:
http://www.xmpp.org/extensions/tmp/xep-0115-1.4.html

This looks good.

For maximum pedantry, you might note that the base64 encoding used MUST NOT contain whitespace (which RFC 4648 says is the default anyway) and MUST set padding bits to 0 (which RFC 4648 says applications MAY require).

These requirements mean that the resultant base64 from any given input has precisely one form, and so can be used for direct comparison. Implementations MAY choose to decode the base64 and compare hashes directly (and if you mandate this, then you can skip the para above).

Dave.
--
Dave Cridland - mailto:[EMAIL PROTECTED] - xmpp:[EMAIL PROTECTED]
 - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
 - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade

Reply via email to