uuid a83afccf-19d9-4b34-a36b-57d2fcc74417 and the Levenshtein distance
A quick demonstration measuring two universally unique identifiers using the Levenshtein distance
The Levenshtein distance is the difference between two strings when compared, specifically the amount of changes that have to be made to achieve a match, the function is named after Vladimir Levenshtein, a Soviet mathematician.
The below values are calculated using the PHP implementation of the Levenshtein metric and more information regarding this function can be found here.
On every page refresh a new uuid will be generated and compared against the existing uuid, a similarity percentage and the Levenshtein distance will be calculated and shown.
2a83c2c2-e873-444f-951d-2ba6f984c076 with a Levenshtein distance of 26.