Creating your own Tinyurl style uid

前端 未结 8 1972
抹茶落季
抹茶落季 2020-12-02 11:30

I\'m writing a small article on humanly readable alternatives to Guids/UIDs, for example those used on TinyURL for the url hashes (which are often printed in magazines, so n

8条回答
  •  南方客
    南方客 (楼主)
    2020-12-02 12:11

    If you're using 6 characters, a-z and 0-9, thats a total of 36 characters. The number of permutations is thus 36^6 which is 2176782336.. so it should only clash 1/2176782336 times.

提交回复
热议问题