Skip to content

Use openssl or mt_rand for random

Compare
Choose a tag to compare
@ChristianRiesen ChristianRiesen released this 20 Apr 15:44
· 51 commits to master since this release

Previously it used "rand" for generating the pseudorandom in the googleauthenticator helper class. This has now been replaced with an implementation that will create a random either from openssl if it's present or otherwise use the mt_rand option (not as good, but better then just rand).