Ejemplo n.º 1
0
 /**
  * Protected function to overload the generator for unit testing purposes
  */
 protected function genRandom()
 {
     $buffer = $this->mergeBuffers(self::$state, $this->genNormal());
     if ($this->secure) {
         $buffer = $this->mergeBuffers($buffer, $this->genSecure());
     }
     self::$state = $this->mergeBuffers(self::$state, $buffer);
     return $buffer;
 }