Hi there,
I am currently using the sys_guid method of Oracle to generate unique ids for an application. However, the id generated is 16 bytes(128 bits) in its hexadecimal representation. This large number of bytes does not fit in a number data type(of length 38) which can only take 126 bits.
Do any of you know how to convert this 128-bit UUID into 126-bits without compromising its uniqueness? Is it a simple matter of shifting the bits 2 times to the right?
Thanks!
I am currently using the sys_guid method of Oracle to generate unique ids for an application. However, the id generated is 16 bytes(128 bits) in its hexadecimal representation. This large number of bytes does not fit in a number data type(of length 38) which can only take 126 bits.
Do any of you know how to convert this 128-bit UUID into 126-bits without compromising its uniqueness? Is it a simple matter of shifting the bits 2 times to the right?
Thanks!