From: Sebastian Hungerecker Date: 2008-11-12T23:50:12+09:00 Subject: Re: Convert text string i.e 'Peter' into integer ID Peter Szinek wrote: > 4) "Peter".hash > > The integer -> string part is the real problem; it's impossible to do   > it with methods 1) - 3), with some extra effort (storing the result in   > a lookup table)  it should be possible to accomplish it with 4) unless   > you have some extra requirements. Hash values are not unique. Two different strings can have the same hash value, so you can't get the string back from the hash alone. HTH, Sebastian -- NP: In Flames - Lord Hypnos Jabber: sepp2k@jabber.org ICQ: 205544826