July 23, 2015
2:29 p.m.
On 23 Jul 2015, at 16:13, Peter Uhnák <i.uhnak@gmail.com> wrote:
Why it doesn't use ==UUIDGenerator default== like UUID new does?
#newVersion generates a timestamp/version for the serialized object. I think >>#newSeed is abused as on Unix platforms it can provide a somehow cryptographically secure random number.
[ UUIDGenerator new makeSeed ] bench. "'1,344 per secondâ"
But you can even have /dev/urandom block if you read too much. So trying to use RAND_bytes appears to be a good idea.