Task #31128

We should only have one source of random bytes

Added by Christian Müller almost 4 years ago. Updated almost 4 years ago.

Status:Rejected Start date:2011-10-20
Priority:Should have Due date:
Assigned To:Christian Müller % Done:

0%

Category:Utility
Target version:-
Sprint: Has patch:
PHP Version: Complexity:

Description

Currently for generation of the persistent security token we use self made code in TYPO3.FLOW3/Classes/Utility/Algorithms.php but for example the CSRF token use the method from TYPO3.FLOW3/Resources/PHP/iSecurity/Security_Randomizer.php to generate random bytes.

We should unify that and use TYPO3\FLOW3\Utility\Algorithms::generateRandomBytes as wrapper for random byte creation.

History

#1 Updated by Christian Müller almost 4 years ago

  • Status changed from Accepted to Rejected

already included in #25714

Also available in: Atom PDF