- Full name:
\RobThree\Auth\Providers\Rng\CSRNGProvider
- This class implements:
\RobThree\Auth\Providers\Rng\IRNGProvider
public getRandomBytes(mixed $bytecount): string
Parameters:
Parameter | Type | Description |
---|---|---|
$bytecount |
mixed | the number of bytes of randomness to return |
Return Value:
the random bytes
public isCryptographicallySecure(): bool
Return Value:
whether this provider is cryptographically secure