I have to compare version 4 UUID which i have and version 4 UUID which is there as common name in a certificate. Is there any python in built function available to compare both UUIds? If not how to compare version 4 UUID?
Can you give examples of your uuids and expected output of comparison?
123e4567-e89b-42d3-a456-426655440000. This is a versio 4 UUID, and expected result may be true or false. Function should compare entire UUID as per standard format and its version also
Do you mean that you want to
validate a uuid version 4? A search engine query led me to
this code which seems to prove that python's uuid module can do it.