PHP Class Hackzilla\PasswordGenerator\RandomGenerator\Php7RandomGenerator

Inheritance: implements Hackzilla\PasswordGenerator\RandomGenerator\RandomGeneratorInterface
Exibir arquivo Open project: hackzilla/password-generator

Public Methods

Method Description
randomInteger ( integer $min, integer $max ) : integer Generates cryptographic random integers that are suitable for use where unbiased results are critical (i.e. shuffling a Poker deck).

Method Details

randomInteger() public method

However requires PHP7.
public randomInteger ( integer $min, integer $max ) : integer
$min integer
$max integer
return integer