What is the probability of guessing (matching) a Guid?

前端 未结 6 773
后悔当初
后悔当初 2020-12-15 21:55

Just curious but what is the probability of matching a Guid?

Say a Guid from SQL server: 5AC7E650-CFC3-4534-803C-E7E5BBE29B3D

is it a factorial?: (36*32)! =

6条回答
  •  感情败类
    2020-12-15 22:45

    Depends on the type of GUID generation algorithm. Current algorithms use 124 random bits so the probability is 1 in 2^124.

    With older algorithms (that use time and MAC address) the probability is much higher.

提交回复
热议问题