Hmmmm if you have short terms then this might produce a longer OID string. Just thinking about the max size of a hashCode value in the number of digits. I think it's log 10 (2^32-1) which is what 8 or 9? So if the term is small then this might be larger.
More inline ...
On 4/5/07, Alex Karasulu <email@example.com > wrote:Good idea Emmanuel. Permit me to extend on this a bit ...
Perhaps instead of getting really long OIDs you can use instead compute a hashCode from the suffix and just concat that as the
least significant OID term. For example:
Can be the following valid OID if the hashCode for org.tuscany.das.ldap.config.DASConfig.baseDN is 123456:
Well, I thought about it, but it may break the 'worldwide' characteristics : you can't guaranty that this hashcode will be unique. But if you just split each word, and compute an hashcode for each of them, the odds that you break rhis rule is 0 :
188.8.131.52.4.1.18060.0.4.X.2."org".hashcode()."tuscany".hashcode(). ... etc