Why is an iPhone Device ID 40 characters?

Paul Prescod picture Paul Prescod · May 28, 2009 · Viewed 14.2k times · Source

UUIDs are usually 36 characters.

Answer

cdespinosa picture cdespinosa · May 28, 2009

Because UDID ≠ UUID. The iPhone Unique Device Identifier (UDID) is a hash of several different hardware identifiers pulled from the chips on the phone. It's not a software-generated identifier for a software object.

It's 160 bits, not 128 bits, so it takes 40 hex characters to represent, not 32 + 4 hyphens.