wiki.techinc.nl/tests/phpunit/includes/utils
csteipp af66c04d39 Add HKDF as a fast, random number source
This adds an RFC 5869 compatible library for quickly generating
cryptographically secure random keys/numbers. An attacker should be
unable to predict the next number generated, as long as the secret
key (set to wgSecretKey if not explicitly defined for a wiki) remains
secret.

In my testing, this is generating random numbers about 7x faster than
MWCryptRand for 32 hex characters, and shouldn't drain openssl's
entropy source.

This will hopefully speed up maintenance tasks that require secure
random numbers, such as resetting login token, and wrapping user's
passwords in a new format.

Change-Id: I437d9aec0122a0533b0d8723fe8a8624898af909
2014-06-09 11:32:26 -07:00
..
CdbTest.php Remove underscore from CdbReader_[DBA|PHP] classes and related file 2013-11-07 13:16:56 -08:00
IPTest.php Removed clumsy unused IP::toUnsigned() method 2014-05-31 00:20:27 +00:00
MWCryptHKDFTest.php Add HKDF as a fast, random number source 2014-06-09 11:32:26 -07:00
StringUtilsTest.php
UIDGeneratorTest.php Delete UIDGenerator cache files after unit tests 2014-04-02 23:58:28 +00:00
ZipDirectoryReaderTest.php Fixed spacing 2013-11-21 18:52:25 +00:00