[jdev] Case sensitive & jid
Trejkaz Xaoza
trejkaz at xaoza.net
Fri May 7 19:01:57 CDT 2004
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 <trejkaz at xaoza.net>
Web site: http://xaoza.net/trejkaz/
Jabber ID: trejkaz at jabber.xaoza.net
GPG Fingerprint: 26CF 8621 223F 3916 8872 65C5 9A27 F3C0 130F C71A
More information about the JDev
mailing list