diff --git a/reference/misc/functions/uniqid.xml b/reference/misc/functions/uniqid.xml index cf1e1067b1..51c608a45a 100644 --- a/reference/misc/functions/uniqid.xml +++ b/reference/misc/functions/uniqid.xml @@ -124,12 +124,22 @@ printf("uniqid('', true): %s\r\n", uniqid('', true)); &reftitle.notes; + + + This function does not generate cryptographically secure tokens, + in fact without being passed any additional parameters the return + value is little different from microtime. If + you need to generate cryptographically secure tokens use + openssl_random_psuedo_bytes. + + Under Cygwin, the more_entropy must be set to &true; for this function to work. +