IRNGProvider
in
Table of Contents
- getRandomBytes() : string
- isCryptographicallySecure() : bool
Methods
getRandomBytes()
public
getRandomBytes(int $bytecount) : string
Parameters
- $bytecount : int
-
the number of bytes of randomness to return
Return values
string —the random bytes
isCryptographicallySecure()
public
isCryptographicallySecure() : bool
Return values
bool —whether this provider is cryptographically secure