RandomGeneratorFactory
class RandomGeneratorFactory (View source)
Properties
static bool | $forceNoOpensslRandomPseudoBytes | For testing, openssl_random_pseudo_bytes() override; if true, treat as if openssl_random_pseudo_bytes() is not available | |
static bool | $forceNoRandomBytes | For testing, random_bytes() override; if true, treat as if random_bytes() is not available. |
Methods
static bool
hasOpensslRandomPseudoBytes()
Returns true if the system has openssl_random_pseudo_bytes()
static bool
hasRandomBytes()
Returns true if the system has random_bytes()
static
getGenerator()
No description