Actions
Bug #19653
closedProvide a random byte generator in TYPO3 Core
Start date:
2008-11-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Currently TYPO3 does not provide a method for creation of random bytes. Random bytes are needed for cryptographic operations. Think of getting salted password hashes into core. Then the used salt should be as random as possible.
As such method could be useful for TYPO3 extension developers or other use cases for TYPO3 Core, it should go into t3lib_div.
(issue imported from #M9852)
Files
Updated by Marcus Krause almost 16 years ago
Added v3 of the patch. Improvements:
- removed unnecessary empty $random_state test
- added OS test before accessing /dev/urandom
- md5 hashing replaced by sha1
Updated by Marcus Krause almost 16 years ago
committed to trunk revs 4520 & 4521
Actions