Ok, thanks guys.... So now I 'm gonna use stringprep, but there is an implementation of stringprep with such profiles in jabberd 2 project please ? I'm looking for it in files until someone will help me...
Have a nice day,
Matthias Wimmer wrote:
Hi Trejkaz!
Trejkaz Xaoza schrieb am 2004-05-08 10:01:57:
Therefore md5(lowercase(jid_full)) would result inThat's actually a property of all hashes anyway. Comes with the territory of reducing Y bytes to X bytes where X < Y.
the same hash for two different addresses!
No not really. Sure there are always different strings that are mapped to the same hash. But it's the property of hashes, that it is hard/impossible to generate a second string that has the same hash on purpose. (Else you could take a signature of one document and generate a second document for which this signature is valid too and which tells that the other person owes you 1,000,000 €.
In the case of md5(lowercase(jid_full)) it would be trivial to generate two addresses, that are mapped to the same hash.
In case you think that this is "only" possible for resources and one would only break his own addresses ... nope ... there are components that allow different users to habe the same node and domain, but a different resource: e.g. conference servers.
Tot kijk
Matthias
------------------------------------------------------------------------
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev
-- Remy Harel - [EMAIL PROTECTED] G.I.C.M - Distributed Systems & IT Linux Registered User #224740
_______________________________________________ jdev mailing list [EMAIL PROTECTED] https://jabberstudio.org/mailman/listinfo/jdev
