Is there any way to create a short unique code like short GUID?

前端 未结 5 1939
予麋鹿
予麋鹿 2021-02-05 03:21

I want to create a short GUID. Is there any way to create a short unique code like short GUID? I want to create a ticket tracking number.

5条回答
  •  抹茶落季
    2021-02-05 03:54

    Jeff Atwood has an article on his blog how to shorten a GUID to 20 characters without losing information:
    Coding Horror: Equipping our ASCII Armor

提交回复
热议问题