]> source.dussan.org Git - nextcloud-server.git/commit
mt_rand() is not secure from a security point of view and predictable. Let's use...
authorLukas Reschke <lukas@statuscode.ch>
Sat, 29 Sep 2012 13:03:09 +0000 (15:03 +0200)
committerLukas Reschke <lukas@statuscode.ch>
Sat, 29 Sep 2012 13:03:09 +0000 (15:03 +0200)
commitbd804b74c46ed6779bf82a506711b48644a197f4
tree3015f9d16e459364bad3cc1ca036c0ebabc3c227
parentdc66e94ee3c14e73f0a4f5f79722e0855add71e1
mt_rand() is not secure from a security point of view and predictable. Let's use openssl_random_pseudo_bytes() instead.

Before: 26 bits entropy
After: 72 bits entropy
lib/util.php