activeuuid icon indicating copy to clipboard operation
activeuuid copied to clipboard

using random_create instead of timestamp_create

Open mlsquires opened this issue 13 years ago • 2 comments

I'd prefer to use the type 4 UUID (random). Any thoughts about supporting this? I should have mentioned in the other issue that I'm happy to code up a solution for either of these if they don't fit in your roadmap.

mlsquires avatar Jan 29 '12 02:01 mlsquires

v4 UUIDs isnt secure as v1 and should be only used in partial solutions (Like a table where you are going to have a compound id, for example, a timeline (user_id + timeline_uuid).

pnegri avatar Jun 25 '12 01:06 pnegri

Have you tried SecureRandom.uuid?

ivanoblomov avatar Jun 01 '15 17:06 ivanoblomov