original_string: protected static function generateRandomBytesFallback($bytesToReturn) {
  		$bytes = '';
  			// We initialize with somewhat random.
  		$randomState = $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] . base_convert(memory_get_usage() % pow(10, 6), 10, 2) . microtime() . uniqid('') . getmypid();
  		while (!isset($bytes{$bytesToReturn - 1})) {
  			$randomState = sha1(microtime() . mt_rand() . $randomState);
  			$bytes .= sha1(mt_rand() . $randomState, TRUE);
  		}
  		return $bytes;
  	}
code: protected static function generateRandomBytesFallback($bytesToReturn) {
  		$bytes = '';
  			// We initialize with somewhat random.
  		$randomState = $GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] . base_convert(memory_get_usage() % pow(10, 6), 10, 2) . microtime() . uniqid('') . getmypid();
  		while (!isset($bytes{$bytesToReturn - 1})) {
  			$randomState = sha1(microtime() . mt_rand() . $randomState);
  			$bytes .= sha1(mt_rand() . $randomState, TRUE);
  		}
  		return $bytes;
  	}
code_tokens: protected static function generateRandomBytesFallback ( $ bytesToReturn ) { $ bytes = '' ; // We initialize with somewhat random. $ randomState = $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'SYS' ] [ 'encryptionKey' ] . base_convert ( memory_get_usage ( ) % pow ( 10 , 6 ) , 10 , 2 ) . microtime ( ) . uniqid ( '' ) . getmypid ( ) ; while ( ! isset ( $ bytes { $ bytesToReturn - 1 } ) ) { $ randomState = sha1 ( microtime ( ) . mt_rand ( ) . $ randomState ) ; $ bytes .= sha1 ( mt_rand ( ) . $ randomState , TRUE ) ; } return $ bytes ; }
docstring: Generate pseudo random bytes as last resort
  
  @param $bytesToReturn
  @return string
docstring_tokens: Generate pseudo random bytes as last resort