mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Update TimingAttackAgainstHeader.qhelp
This commit is contained in:
committed by
Chris Smowton
parent
6da9bc593f
commit
4a9ee5826d
@@ -22,6 +22,6 @@ and does not depend on the contents of the arrays.
|
||||
The following example uses <code>Arrays.equals()</code> method for validating a csrf token.
|
||||
This method implements a non-constant-time algorithm. The example also demonstrates validation using a safe constant-time algorithm.
|
||||
</p>
|
||||
<sample src="csrfComparison.java" />
|
||||
<sample src="ComparingValueOfSensetiveHeader.java" />
|
||||
</qhelp>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user