Generate cryptographically secure random numbers in php

后端 未结 16 1675
孤街浪徒
孤街浪徒 2020-11-29 07:39

PHP\'s rand() function doesn\'t give good random numbers. So I started to use mt_rand() which is said to give better results. But how good are thes

16条回答
  •  情话喂你
    2020-11-29 08:03

    It all depends what for you need that random number :) For me ShuffleBag is the best one :)

提交回复
热议问题