[TYPO3-core] RFC #9852: Feature: Provide a random byte generator in TYPO3 Core

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Nov 28 14:59:35 CET 2008


Hi!

Marcus Krause wrote:
> Yes it's a fallback and documented as such.
> 
> As Dmitry is using a similar implementation for OpenID, it's shows the
> need for such function.
> 
> I will check which implementation (this patch or Dmitry's OpenID stuff)
> provides a greater entropy.
> 
> 9852_v2.diff has a small bug; $output has to be set to an empty string
> before the /dev/urandom test as the fallback concats $output

By default it will be empty... But we can add this assignment, yes.
This will also prevent PHP notice.

-- 
Dmitry Dulepov
TYPO3 translations support
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog:
http://typo3bloke.net/post-details/typo3_43_cache_and_memcached_fix_ready/


More information about the TYPO3-team-core mailing list