I would like to replace some of the sequences I use for id\'s in my postgresql db with my own custom made id generator. The generator would produce a random number with a ch
Your best bet would probably be some form of hash function, and then a checksum added to the end.