Adam Harvey
b0f439fdc0
Suggest hash_equals() on the crypt() page.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334629 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 03:45:57 +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
Yasuo Ohgaki
d2940da2ef
Add note for crypt()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334296 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-17 01:20:14 +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
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
Yasuo Ohgaki
c2d7a762b1
Update crypt() manual page for 5.6.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332022 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-30 22:13:59 +00:00
Justin Martin
c6e10c6653
Clarified language of CRYPT_BLOWFISH character range admonition.
...
Contribution by Ole Aass.
Closes bug #63755 .
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329093 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-12 04:04:32 +00:00
Joey Smith
54bcc14fac
Clarified some common confusion in the crypt() examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326912 c90b9560-bf6c-de11-be94-00142212c4b1
2012-08-01 01:48:12 +00:00
Adam Harvey
d0223af67d
Fix doc bug #62414 (Out of date docs for CRYPT_BLOWFISH). I'd greatly
...
appreciate a review on this, since I'm not sure it's as well worded or laid out
as it could be -- the one paragraph per hash convention is starting to get a
little tight.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326725 c90b9560-bf6c-de11-be94-00142212c4b1
2012-07-20 08:39:55 +00:00
Joey Smith
55d88a8d9c
Remove the term 'base64' from the crypt page - it seems to be perpetually confusing people that they can somehow pass in base64_encoded() data.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313299 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-16 22:20:46 +00:00
Joey Smith
1f89edc4c6
Fixed awkward wording of a sentence in crypt() documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312628 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 15:16:48 +00:00
Shein Alexey
5e23e0807d
Fixed a typo in Blowfish's salt description (should contain 22 base64 digits/items).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309683 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-25 09:53:53 +00:00
Adam Harvey
ab5351a260
WS.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300332 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-10 02:59:05 +00:00
Joey Smith
16f0f78d84
Clarify what appears to some to be a set of mutually exclusive assertions
...
by just pointing out that it's implementation-specific.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300331 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-09 21:09:30 +00:00
Joey Smith
957d01e350
Clarified / fix docs of several instances where crypt() can be passed an invalid salt.
...
Added a ChangeLog entry for one trivial BC change in 5.3.2
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297172 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-30 11:42:08 +00:00
Daniel Egeberg
96c9d88bad
Converted to utf-8
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Adam Harvey
42e8f18733
Fixed bug #51255 (crypt() example for SHA512 is wrong).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@296019 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-10 07:37:22 +00:00
Yannick Torres
040a08b2af
Fix WS & remove tab
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295563 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-27 09:01:19 +00:00
Joey Smith
632421687b
- Document what PHP's crypt() does when underlying crypt() fails.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295442 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-23 22:08:17 +00:00
Joey Smith
026bae616b
Replace usage of the term 'encryption' with 'hash' on
...
crypt() page.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295299 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-21 03:56:09 +00:00
Joey Smith
3087f7de70
Merge changes suggested by Solar Designer to clarify
...
how EDES and Blowfish salts work.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295298 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-21 03:32:45 +00:00
Joey Smith
3e33a8d374
Clarification on the salt format for Extended DES
...
via pajoye and Solar Designer.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295263 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-19 20:24:23 +00:00
Joey Smith
f8e3f4345b
Current blowfish implementation is limited to 2**4-2**31, according to
...
Solar Designer.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295224 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-18 00:10:10 +00:00
Joey Smith
a0ccfd74cb
Note how to trigger Extended DES, and the acceptable
...
alphabet for salt characters.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295196 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-17 06:32:47 +00:00
Joey Smith
62c1bb2619
Further refine the Blowfish documentation - what characters are allowed in the salt,
...
what crypt() does if invalid characters are used, the valid number of rounds, what
happens if you specify an invalid number of rounds.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295180 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-16 17:41:49 +00:00
Joey Smith
a3e8136e4e
1) Fix the current Blowfish documentation. It was pretty horribly wrong, which Solar Designer pointed out to us quite a while back [1]. I more or less copied the way the Perl package Crypt::Eksblowfish::Bcrypt documents it, with a few modifications to make it fit better with how PHP uses it.
...
2) Document the new (as of 5.3.2) CRYPT_SHA_256 and CRYPT_SHA_512 constants (and the salt format that goes with them), as well as include the examples.
[1] http://markmail.org/message/k3tzsrahlketfj5K
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295093 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-15 12:13:37 +00:00
Joey Smith
316087ba95
Clear up a confusing example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290071 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-30 03:12:18 +00:00
Torben Wilson
af4410a7e1
Normalized the sgml-default-dtd-file local-variable line for those
...
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
ed67b3c502
fixed properties
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283839 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 09:08:43 +00:00
Carola 'Sammy' Kummert
7d16e320ce
typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271522 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-18 19:25:14 +00:00
Kalle Sommer Nielsen
b40758f015
* Added note + changelog entry for PHP's implementation of crypt() algorithms
...
* Added note about get_cfg_var() was fixed to return "array" ini options
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271108 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-13 02:06:34 +00:00
Hannes Magnusson
c030e2adf7
Upgrade to DocBook5:
...
- All id attributes are now xml:id
- Add docbook namespace to all root elements
- Replace <ulink /> with <link xlink:href />
- Minor markup fixes here and there
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Hannes Magnusson
cb3e0bc8d9
typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237417 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-11 14:39:35 +00:00
Mehdi Achour
c7d32a20aa
ref.strings (a* => c*): Switch to new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237388 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-11 00:50:48 +00:00
Mehdi Achour
a988f7effc
WS, prepare for new doc style
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@237386 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-11 00:50:00 +00:00
Kenneth Schwartz
d259129bb0
use example.outputs[.similar] entity
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@181877 c90b9560-bf6c-de11-be94-00142212c4b1
2005-03-11 16:11:52 +00:00
Jakub Vrana
8d6c650738
Clarify (bug #30316 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@170456 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-11 13:49:32 +00:00
Jakub Vrana
920650919a
s/recursively/repeatedly/
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169879 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-04 10:08:00 +00:00
Dave Barr
4712b29ecc
- Remove incorrect information from example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165351 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-05 05:37:20 +00:00
Dave Barr
afb80f672f
- CS.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165310 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-04 18:33:59 +00:00
Dave Barr
fb667296aa
- Add an example to crypt() showing the usage of the various encryption
...
types.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165294 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-04 16:43:12 +00:00
Antony Dovgal
e838558672
add <para></para>
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162680 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-05 15:05:25 +00:00
Aidan Lister
92712820bc
Added second example showing htpasswd generation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@162679 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-05 14:46:20 +00:00
Mehdi Achour
27960e632c
Merry XHTML and CS compliant christmas all \!
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Hartmut Holzgraefe
5b9fc29465
revision tags added
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00
Hartmut Holzgraefe
a4b6d72ad3
banana-split
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78202 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-15 00:12:54 +00:00