I am trying to generate random ids based on 4 Alpha characters+ 4 Numbers through a REST API. (A...Z without I and O + 1...9) My question is how can I guarantee that always I would not existence unique among all 800 million(apparently) combinations . currently I am always initialing the source of data to generate randoms. REST API have no idea which as generated before.
More clearly API Call 1: returns ABCD1234 API Call 2: returns ASDF9873 .......
API Call 20000: will not return anything already generated. Any Ideas people?
Aucun commentaire:
Enregistrer un commentaire