lordofmordor wrote:
Thanks SleepyBear, that makes sense but unfortunately that is not good enough for them.
The ids have be integer. Is there another way?
Yes, you could use a plain old integer as a sequence number and then transform it into your non-sequential number. If you could explain how you're going to use this I could explain it in a way that makes more sense.
Basically, you could do something like multiply the sequantial integer with a large prime number to get a result that is "scrambled". You can also use modular exponentiation to essentially encrypt the integer.