Doc #54568 [Opn->Csd]: [DE] German crypt() documentation incomplete
| From: | nikic@php.net | Date: | Thu, 30 Jun 2011 12:19:03 +0000 |
| Subject: | Doc #54568 [Opn->Csd]: [DE] German crypt() documentation incomplete | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-6778@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=54568&edit=1
ID: 54568
Updated by: nikic@php.net
Reported by: debian at michael-neubert dot de
Summary: [DE] German crypt() documentation incomplete
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Translation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Just asked someone and it seems this is just badly formulated: The behavior is clearly defined (i.e.
first MD5 hashing is tried and then DES). By unexpected behavior they mean that if one server has
MD5 and the other DES, running the same function with the same input will yield two different
outputs. Thus it could seem that the provided password was wrong.
I updated the german docs to clarify that.
Previous Comments:
------------------------------------------------------------------------
[2011-06-30 01:08:56] philip@php.net
The online documentation editor link relevant to this bug report:
https://edit.php.net/?project=PHP&perm=de/function.crypt.php
------------------------------------------------------------------------
[2011-04-19 14:39:36] debian at michael-neubert dot de
Description:
------------
Hello,
the German documentation of the crypt() function is inconsistent.
English documentation parameter salt:
"An optional salt string to base the hashing on. If not provided, the behaviour is defined by
the algorithm implementation and can lead to unexpected results."
German documentation parameter salt:
"Ein optionaler Salt-String, der die Schlüsselbasis bildet. Sofern nicht angegeben, wird von
PHP ein zufälliger Wert bei jedem Aufruf der Funktion generiert. Wenn Sie das gegebene Salt
benutzen, sollten Sie beachten, dass dieser Wert nur einmal bestimmt wird. Rufen Sie diese Funktion
nun mehrmals auf, beeinträchtigt das nicht nur das Ergebnis, sondern unter Umständen auch die
Sicherheit."
Please add in the German documentation, that unexpected results can occur, if no salt is provided.
Further information why this is advisably you can find in the following Debian bugreport:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623220
Beste wishes
Michael
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=54568&edit=1