[Users] How to generate UID's for address books

Laurent Bloch lb at laurentbloch.org
Fri Sep 28 00:23:25 CEST 2018


Le vendredi 28 septembre 2018 wwp a écrit ceci :

> Hello Laurent,
>
> Any UID, as in any unique identifier (unsigned int). Just make sure
> the number is unique, pick a random one if you want; the date in
> seconds since epoch is a good pick non-random one but be sure you're
> not creating several ones during the same second ;-).

Uh uh, you are right, I'll add a delay :-(

Regards!

-- 
Laurent Bloch - https://laurentbloch.net - lb at laurentbloch.org
Si vous trouvez que l'éducation coûte cher, essayez l'ignorance !
(A. Lincoln)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Signature digitale OpenPGP
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20180928/7db447b6/attachment.sig>


More information about the Users mailing list