svn: /phpdoc/en/trunk/reference/ array/functions/array-rand.xml array/functions/shuffle.xml math/functions/lcg-value.xml

From: Date: Tue, 14 Jun 2016 14:52:22 +0000
Subject: svn: /phpdoc/en/trunk/reference/ array/functions/array-rand.xml array/functions/shuffle.xml math/functions/lcg-value.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14188@lists.php.net to get a copy of this message
cmb Tue, 14 Jun 2016 14:52:22 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339348 Log: Fix #64386: No warning on insecure pseudo-random generators Bug: https://bugs.php.net/64386 (Open) No warning on insecure pseudo-random generators Changed paths: U phpdoc/en/trunk/reference/array/functions/array-rand.xml U phpdoc/en/trunk/reference/array/functions/shuffle.xml U phpdoc/en/trunk/reference/math/functions/lcg-value.xml Modified: phpdoc/en/trunk/reference/array/functions/array-rand.xml =================================================================== --- phpdoc/en/trunk/reference/array/functions/array-rand.xml 2016-06-14 14:23:39 UTC (rev 339347) +++ phpdoc/en/trunk/reference/array/functions/array-rand.xml 2016-06-14 14:52:22 UTC (rev 339348) @@ -15,6 +15,8 @@ <para> Picks one or more random entries out of an array, and returns the key (or keys) of the random entries. + It uses a pseudo random number generator that is not suitable for + cryptographic purposes. </para> </refsect1> <refsect1 role="parameters"> Modified: phpdoc/en/trunk/reference/array/functions/shuffle.xml =================================================================== --- phpdoc/en/trunk/reference/array/functions/shuffle.xml 2016-06-14 14:23:39 UTC (rev 339347) +++ phpdoc/en/trunk/reference/array/functions/shuffle.xml 2016-06-14 14:52:22 UTC (rev 339348) @@ -13,6 +13,8 @@ </methodsynopsis> <para> This function shuffles (randomizes the order of the elements in) an array. + It uses a pseudo random number generator that is not suitable for + cryptographic purposes. </para> </refsect1> <refsect1 role="parameters"> Modified: phpdoc/en/trunk/reference/math/functions/lcg-value.xml =================================================================== --- phpdoc/en/trunk/reference/math/functions/lcg-value.xml 2016-06-14 14:23:39 UTC (rev 339347) +++ phpdoc/en/trunk/reference/math/functions/lcg-value.xml 2016-06-14 14:52:22 UTC (rev 339348) @@ -17,6 +17,7 @@ of 2^31 - 85 and 2^31 - 249. The period of this function is equal to the product of both primes. </para> + &caution.cryptographically-insecure; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues;

« previous php.doc.cvs (#14188) next »