svn: /phpdoc/en/trunk/reference/hash/functions/ hash-equals.xml

From: Date: Mon, 01 Sep 2014 00:08:06 +0000
Subject: svn: /phpdoc/en/trunk/reference/hash/functions/ hash-equals.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12755@lists.php.net to get a copy of this message
datibbaw Mon, 01 Sep 2014 00:08:06 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=334682 Log: Added length information leak when parameters of hash_equals() aren't of equal lengths. Changed paths: U phpdoc/en/trunk/reference/hash/functions/hash-equals.xml Modified: phpdoc/en/trunk/reference/hash/functions/hash-equals.xml =================================================================== --- phpdoc/en/trunk/reference/hash/functions/hash-equals.xml 2014-08-31 18:20:18 UTC (rev 334681) +++ phpdoc/en/trunk/reference/hash/functions/hash-equals.xml 2014-09-01 00:08:06 UTC (rev 334682) @@ -93,7 +93,8 @@ <note> <para> Both arguments must be of the same length to be compared successfully. - When arguments of differing length are supplied, &false; is returned. + When arguments of differing length are supplied, &false; is returned and + the length of the known string may be leaked in case of a timing attack. </para> </note> <note>

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