Adam Harvey
41d8e7ffe4
Update version information to include PHP 7.
...
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.
In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Adam Harvey
a4706cc591
Note that salt is deprecated all over the password_hash() page.
...
Also change the version examples, since some of them have already happened. Now
we can forget about this until 2021!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338252 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-14 19:27:01 +00:00
Maciej Sobaczewski
056c39d4f5
Make the caution more clear (closes bug #70615 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337962 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-07 06:49:28 +00:00
Thomas Punt
834d7db5b8
Document deperecation of password_hash() salt option
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337585 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-22 12:30:06 +00:00
Pieter Hordijk
f0e80e2c3f
Added message about the function being safe against timing attacks.
...
https://bugs.php.net/bug.php?id=69230
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337052 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-25 11:29:56 +00:00
Maciej Sobaczewski
5650ac40be
Improve title of password_needs_rehash() example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336033 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-04 04:32:07 +00:00
Maciej Sobaczewski
b3b5e95c7e
Drop unnecessary entity
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336029 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-03 12:53:03 +00:00
Anthony Ferrara
28ebb20500
Add example for password_needs_rehash to documentation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336027 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-02 22:50:57 +00:00
Anthony Ferrara
2bf617982f
Update password_hash documentation to recommend <= 100 ms hash times, including adjusting the cost-finding script.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334834 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-10 15:41:21 +00:00
Simion Onea
14af302c9c
Making the XML definition consistent across the entire project.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Chris Wright
b978dba78b
Grammar fix in password_hash() docs
...
--
Provided by anonymous 48275
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334703 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 16:23:05 +00:00
Anthony Ferrara
925468837b
Revert 334297 and 334297, as:
...
1) there was no discussion prior to edits (even in #66564 )
2) It is incorrect, misleading and not the overall sentiment that needs to be communicated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334309 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 22:14:11 +00:00
Maciej Sobaczewski
39bbfc9fd1
Typofixes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334300 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 05:28:16 +00:00
Yasuo Ohgaki
7182ebded6
Add important CRYPT_BLOWFISH limitation to password_hash()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334297 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 02:17:56 +00:00
Ferenc Kovacs
3fb1e0bf88
removing the misleading sentence (reported by Solar Designer, also pointed out by Michal Špaček previously in a comment for #66564 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333973 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-27 15:00:47 +00:00
Hannes Magnusson
dfaeb887cf
Remove generated file
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333398 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-22 04:30:28 +00:00
Peter Cowburn
a1b67e45e7
Fix password_needs_rehash() argument types (patch by Andrey Andreev)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333093 c90b9560-bf6c-de11-be94-00142212c4b1
2014-03-24 20:23:27 +00:00
Sherif Ramadan
824b84746c
Add cautionary statement about truncation for crypt and password_hash using BCRYPT. Fixes Bug #66564 .
...
This includes a cautionary statement that the CRYPT_BLOWFISH algorithm in crypt/password_hash functions
will truncate the input string at a maxmimum length of 72 characters. Typically not a problem for the
average use case since this is only likely used for passwords and assuming each hash has a unique salt.
However, it's still a good idea to document this behavior so that users are aware of the side effect.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332747 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-28 13:10:21 +00:00
Nikita Popov
e2128e7727
password_hash outputs are not exact, use outputs.similar
...
Also commit a contributed patch noting that the returned hash already contains algo/salt/etc.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332666 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-18 22:24:08 +00:00
Yasuo Ohgaki
acadfdd1b4
Add description for crypt() compatibility.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332024 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-31 00:50:41 +00:00
Adam Harvey
254b04328c
Fix typo.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331550 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-27 19:07:08 +00:00
Anthony Ferrara
dc38086ee9
Clean up typo in cost finder example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330613 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 16:53:38 +00:00
Anthony Ferrara
57641e9fac
Update documentation to add a reference to the default cost factor of 10 used in the algorithms.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330612 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 14:13:17 +00:00
Anthony Ferrara
6640ca4c12
Fix the build! can't nest <para> tags... Whoops!
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330609 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 12:24:55 +00:00
Anthony Ferrara
95f6764aef
Update more information about the options, restructuring the location and detail of the supported options. Additionally, refactor the needs rehash and get info documentation slightly.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330608 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 11:57:00 +00:00
Anthony Ferrara
86bd291ad1
Update the examples with comments, and remove the duplicate in the first example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330588 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-21 01:58:10 +00:00
Anthony Ferrara
bc3ff3cf1b
Update password_verify() to include the reason it doesn't need the algorithm or salt.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330568 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-20 22:01:29 +00:00
Anthony Ferrara
a2a1394d23
Update password hash documentation to better describe the salt and cost parameters, improve the examples and describe the algorithm processes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330566 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-20 20:27:59 +00:00
Adam Harvey
190186c998
Fix parameter types on password_needs_rehash().
...
Fixes doc bug #65075 (wrong password_needs_rehash() prototype).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330564 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-20 20:01:05 +00:00
Jakub Vrana
1634a88641
Delete redundant <!-- Membership: -->
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
5b2f7f1f44
Link password_compat
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330237 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 02:46:58 +00:00
Sherif Ramadan
93a2288075
Added crypt to See Also section for password_hash.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328735 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-10 18:37:23 +00:00
Adam Harvey
12019a89a3
Add password function documentation.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328470 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-23 08:43:47 +00:00