0

I want to get a unique number, incremental(starting from 0) for every user..Can I generate md5 hash? or is there any alternative?

How can I generate an MD5 hash?

I see that md5 hash is not a good option from the comments..

Community
  • 1
  • 1
Spider
  • 367
  • 3
  • 15
  • 1
    You start a simple counter from zero and if you have a user that have no number just assign it to them. Then you simply increment your counter and again search for non-numbered users. Is that what you need? – Tamás F Dec 26 '15 at 13:59
  • Actually,counter works for me..thanks.. – Spider Jan 04 '16 at 19:09

0 Answers0