Review TYPO3_4-5 Merged

4555[BUGFIX] Restructure the random byte generator

Helmut Hummel CR +2 V +2 Normal +43 −39 updated 06/03/13, 20:49

Commit message

Restructure the code to use the most performant methods first
if available. Take specialities of Windows OS and special
PHP versions into account.

Read/ generate more bytes than needed in one call, because it
does not cost (much) more to generate more random bytes, but it's
much cheaper for the next calls, because the bytes are already there.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 5

Files 1