c# - Ideas about Generating Untraceable Invoice IDs -
i want print invoices customers in app. each invoice has invoice id. want ids be:
- sequential (ids entered lately come late)
- 32 bit integers
- not easily traceable 1 2 3 people can't tell how many items sell.
an idea of own: number of seconds since specific date & time (e.g. 1/1/2010 00 am).
any other ideas how generate these numbers ?
i don't idea of using time. can run sorts of issues - time differences, several events happening in single second , on.
if want sequential , not traceable, how generating random number between 1 , whatever wish (for example 100) each new id. each new id previous id + random number.
you can add constant ids make them more impressive. example can add 44323 ids , turn ids 15, 23 , 27 44338, 44346 , 44350.
Comments
Post a Comment