Generate a random number
App::Module('Cryptography')->randomNumber([Constant]);
Parameter |
Type |
Description |
---|---|---|
Constant |
Optional |
An additional value to add in random number |
See bellow examples:
$return = App::Module('Cryptography')->randomNumber('my$Constant');
pre($return);
// Return 40my$Constant1366445733