Returns a random v4 UUID of the form xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
, where each x
is replaced with a random hexadecimal digit from 0 to f, and y
is replaced with a random hexadecimal digit from 8 to b.
Instance, based on recursion, can be found here.
I suppose, this change is minor enough.
Unfortunately, gists can be forked but cannot be merged back. In order to avoid huge amount of hardly-ever traversable branches, let's imagine I've made a fork and then send you a pull request.