EllisLab/CodeIgniter — pull request #3207 by sarciszewski (2014-08-27 14:41:45+00:00)
Title: Feature: CI_Security::random_number()

This new method uses a CSPRNG to create unbiased, theoretically unpredictable random integers. My hope is that, once reviewed, this can serve as a drop-in replacement for mt_rand() in any apps based on CodeIgniter 3.0.

**Needs review** of course.