generateBytes()
generateBytes(integer $length, boolean $strong = FALSE) : string
Genera bytes aleatorios.
Parameters
integer | $length | cantidad de bytes requerida |
boolean | $strong | ¿se requiere el uso de un generador aleatorio fuerte? |
Throws
- \RuntimeException
si $strong es TRUE y no hay disponible un generador aleatorio fuerte