$gcheck = printf "%x", ((rand() << 16) | rand());