vendredi 12 juillet 2019

Generate uuid in size of 16 and datatype : binary

To generate uuid for 16bit binary datatype in rails

I have used this 'SecureRandom.uuid' but it takes very big size. It takes big size, and i have binary(16) datatype and size, database=mysql; uuid = SecureRandom.uuid

I want 16 sized uuid and store in binary datatype.

Aucun commentaire:

Enregistrer un commentaire