Generating shorter unique ID for every user

Take a look at my first option below:

I think that can work for your use case.

1 Like