Project

General

Profile

Actions

Bug #19820

closed

Use TYPO3 encryption key in initial state of random byte generation

Added by Marcus Krause almost 16 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-01-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Function t3lib_div::generateRandomBytes() (fallback for OS windows) could be improved when using TYPO3's encryption key to create a (more unpredictable) initial state.

Besides due to md5()'s shorter length in contrary to sha1(), we should use md5() to get as much timestamps as possible in the resulting byte stream.

(issue imported from #M10131)


Files

10131.diff (1.07 KB) 10131.diff Administrator Admin, 2009-01-14 11:58
Actions

Also available in: Atom PDF