qt5base-lts/tests/auto/corelib
Thiago Macieira cfad4e298f QRandomGenerator: add securelySeeded(), to ensure appropriate seeding
Since we don't document how many bytes one needs (it's 2496), it's
difficult for the caller to provide just enough data in the seed
sequence. Moreover, since std::mt19937 doesn't make it easy to provide
the ideal size either, we can't actually write code that operates
optimally given a quint32 range either -- we only provide it via
std::seed_seq, which is inefficient.

However, we can do it internally by passing QRandomGenerator to the
std::mersenne_twister_engine constructor, as it's designed to work.

Change-Id: Icaa86fc7b54d4b368c0efffd14f0613c10998321
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2017-11-11 08:11:03 +00:00
..
animation Blacklist tst_QParallelAnimationGroup::deleteChildrenWithRunningGroup() 2017-06-19 18:33:47 +00:00
codecs QTextCodec: add QStringView overloads 2017-04-06 12:05:33 +00:00
global QRandomGenerator: add securelySeeded(), to ensure appropriate seeding 2017-11-11 08:11:03 +00:00
io Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
itemmodels Ensure result of all QTest::qWaitFor are verified 2017-10-05 15:15:36 +00:00
json Improve symmetry of variant json conversions 2017-07-25 09:00:46 +00:00
kernel Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
mimetypes Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
plugin Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
statemachine Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
thread Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
tools Change almost all other uses of qrand() to QRandomGenerator 2017-11-08 09:14:03 +00:00
xml Build examples and tests only if their requirements are met 2017-03-22 15:55:55 +00:00
corelib.pro Add support for Apple tvOS 2016-05-17 16:11:23 +00:00