In terms of having enough entropy for randomness, can we consider UUID v4 to be safe?
For example, generating a random password like
>>> import uuid
>>> uuid.uuid4().hex
would that be enough?
I read that it was an entropy of 3.4e38, which seems reasonable, but my concern is more about if it's potentially guessable (for example UUID v1 leaks the MAC address, and other sources like /dev/random might not be utterly safe).