[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/appendices/migration70/_new-features.xml?=
From: Adam_Harvey <aharvey () php ! net>
Date: 2015-09-21 12:17:17
Message-ID: svn-aharvey-1442837837-337872-1203229459 () svn ! php ! net
[Download RAW message or body]
aharvey Mon, 21 Sep 2015 12:17:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=337872
Log:
Trim down the migration guide CSPRNG section.
Changed paths:
U phpdoc/en/trunk/appendices/migration70/new-features.xml
Modified: phpdoc/en/trunk/appendices/migration70/new-features.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration70/new-features.xml 2015-09-21 12:17:12 UTC (rev 337871)
+++ phpdoc/en/trunk/appendices/migration70/new-features.xml 2015-09-21 12:17:17 UTC (rev 337872)
@@ -644,26 +644,10 @@
<title><link linkend="book.csprng">CSPRNG</link> Functions</title>
<para>
- This feature introduces two new functions for generating cryptographically
- secure integers and strings. They expose simple APIs and are
- platform-independent.
+ Two new functions have been added to generate cryptographically secure
+ integers and strings in a cross platform way:
+ <function>random_bytes</function> and <function>random_int</function>.
</para>
-
- <para>
- Function Signatures:
- </para>
-
- <programlisting>
-<![CDATA[
-string random_bytes(int length);
-int random_int(int min, int max);
-]]>
- </programlisting>
-
- <para>
- Both functions will emit an E_WARNING and return <literal>false</literal> if
- a source of sufficient randomness cannot be found.
- </para>
</sect2>
<sect2 xml:id="migration70.new-features.list-arrayaccess">
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic