Magic Number (programming) - Magic GUIDs

Magic GUIDs

It is possible to create or alter globally unique identifiers (GUIDs) so that they are memorable, but this is highly discouraged as it compromises their strength as near-unique identifiers. The specifications for generating GUIDs and UUIDs are quite complex, which is what leads to them being guaranteed unique, if properly implemented. They should only be generated by a reputable software tool.

Java uses several GUIDs starting with CAFEEFAC.

In the GUID Partition Table of the GPT partitioning scheme, BIOS Boot partitions use the special GUID {21686148-6449-6E6F-744E-656564454649}, which does not follow the GUID definition; instead, it is formed by using the ASCII codes for the string "Hah!IdontNeedEFI".

Read more about this topic:  Magic Number (programming)

Famous quotes containing the word magic:

    Oh, what a catastrophe for man when he cut himself off from the rhythm of the year, from his unison with the sun and the earth. Oh, what a catastrophe, what a maiming of love when it was a personal, merely personal feeling, taken away from the rising and the setting of the sun, and cut off from the magic connection of the solstice and the equinox!
    —D.H. (David Herbert)