add crc64 function to calculate uid