[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GSE



On Thu, 07 Nov 2002, Tony Li wrote:
> However, a numeric identifier of sufficient and fixed length
> that had a 1:1 mapping with hostnames would work perfectly.

Would a one way mapping from hostname to numeric identifier be good
enough, or does it have to be easy to map in the both directions too?
For example, would something like truncate(hash(normalise(hostname))) be
good enough?

normalise() could be something like nameprep as defined over in IDN,
hash() could be SHA1, truncate() could be taking the least significant
64 or 128 bits.

--apb (Alan Barrett)