> > I misunderstood the purpose of the hash. I thought the client was expected > to unhash it and use it to determine the capabilities. I didnt realize it > was used to compare caps efficiently. >
Hashes are one-way, so it's very hard (i.e. you often need to brute force), to reverse the calculation. Hashes are a quick and easy way though to compute a 'fingerprint' for a set of data, so that you can easily determine if you've seen it before (by comparing the hashes), or not (and then you can do the 'expensive' disco query to get the data that the hash was computed from). Clients need to store the disco result along with it's hash, so that when they see the same hash again, they know what the result was, and they don't need to re-query it. -- - Norman Rasmussen - Email: [EMAIL PROTECTED] - Home page: http://norman.rasmussen.co.za/
_______________________________________________ JDev mailing list FAQ: http://www.jabber.org/discussion-lists/jdev-faq Forum: http://www.jabberforum.org/forumdisplay.php?f=20 Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [EMAIL PROTECTED] _______________________________________________
