11 Commits

Author SHA1 Message Date
5bc2f3a851 avoid random test failure 2016-04-28 16:57:34 +02:00
e00c9d904e Fixed tests to run properly on Windows 2016-04-28 13:52:45 +03:00
e94b68436d complete test coverage for reading /dev/urandom
fixes an issue with buffered reading
2016-04-28 11:45:37 +02:00
49028af437 skip testing /dev/urandom on windows
also removed redundant test
2016-04-28 11:09:09 +02:00
2aeb479341 better unit test for generateRandomBytes() 2016-04-28 04:05:45 +02:00
5f7cd1cbc4 Skipped RNG performance tests 2016-04-12 13:46:25 +03:00
c455a3c54b Security component enhancements
- Added tests for random key generation speed.
- Better generateRandomKey() performance for small reads because of using fopen + buffered read and local caching of source detection.
- Use /dev/random on FreeBSD.
2016-04-06 01:49:07 +03:00
e7a888ad11 use file_get_contents and not magic numbers 2015-12-20 11:48:36 -05:00
1f41a2c9af Fixes #9878,9879,9880: Make \base\Security use random_bytes(), LibreSSL, mcrypt, limit OpenSSL to Windows, and to prefer password_hash() over crypt() 2015-12-19 13:13:23 +03:00
6a4436f95b [Fixes #9177] Password Hash Cost setting for Security component 2015-07-23 09:09:55 +02:00
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00