Use pseudoRandomBytes, which maps to OpenSSL's RAND_pseudo_bytes which for uid generation is fine