EntropyProvider
in package
Class EntropyProvider
This class provides a general source for cryptography-safe random data.
Table of Contents
- randomBytes() : bool|string
- Provides $numBytes of random bytes, optionally limited to strong entropy sources
Methods
randomBytes()
Provides $numBytes of random bytes, optionally limited to strong entropy sources
public
randomBytes(IntType $numBytes, BoolType $strongCryptoRequired) : bool|string