4 ms·
I'm kind of curious why you use SecureRandom.hex and then check for uniqueness, rather than just using SecureRandom.uuid? Edit: Nevermind, I realize now that
by bhousel 15y ago
I'm kind of curious why you use SecureRandom.hex and then check for uniqueness, rather than just using SecureRandom.uuid?
Edit: Nevermind, I realize now that SecureRandom's uuid isn't really a uuid, in that sense. It's just random.