How do I generate uniqid so I can add a subscriber programatically

I need to add subscribers to phplist when I add an account to my site. I can access the use_use db and add the fields and add any attributes needed - I just can’t figure out how to generate the uniqid?

any help would be great
thanks in advance
Jim

@ozbcoz Is this from your own php code? php just uses this to generate the uniqid field

$id = bin2hex(random_bytes(16));

Thanks so much - exactly what I need

Have a great day