On Sat, 8 May 2004 01:37, Matthias Wimmer wrote:
> Therefore md5(lowercase(jid_full)) would result in
> the same hash for two different addresses!
That's actually a property of all hashes anyway. Comes with the territory of
reducing Y bytes to X bytes where X < Y.
> But as normal impelemtations of lowercase() only convert
> the letters A to Z but not 'accented' letters like "�",
> md5(lowercase(jid_full)) would result in two different hashes for the
> same address.
Now that _is_ a problem.
I've been wondering about this annoyance... Java really needs stringprep in
the language if we're to use it for Jabber. :-/
TX
--
'Every sufficiently advanced technology is indistinguishable from magic' -
Arthur C Clarke
'Every sufficiently advanced magic is indistinguishable from technology' - Tom
Graves
Email: Trejkaz Xaoza <[EMAIL PROTECTED]>
Web site: http://xaoza.net/trejkaz/
Jabber ID: [EMAIL PROTECTED]
GPG Fingerprint: 26CF 8621 223F 3916 8872 65C5 9A27 F3C0 130F C71A
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev