Bugfix for long random strings and more randomness
Merge pull request #6085 from khayyam90/4.2

[5.0] More Randomness In QuickRandom