php - How is this encoding string generated?
伊谢尔伦
伊谢尔伦 2017-05-16 13:14:16
0
3
343
"systemid":"CA1A351F-F59A-0206-E043-0A8229050206"
像这个码有点像条形码,如何保证唯一性
伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(3)
洪涛

This is UUID. The issues you are concerned about are here: Universal Unique Identification Code, algorithm reference java.util.UUID.java, standard RFC4122 for UUID

The total number of UUIDs has reached 2^128 (3.4×10^38). The possibility of randomly generating two identical UUIDs is very small, but there is still the possibility of repetition, so the generation algorithm usually adds non-random parameters. such as time, to further reduce the likelihood of duplication.

某草草

uuid: https://www.uuidgenerator.net/
guid: https://guidgenerator.com/onl...

Examples of available libraries: https://packagist.org/package...

曾经蜡笔没有小新

Use uuid

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template