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;
	}
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;
	}
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 ; }
Generate pseudo random bytes as last resort

@param $bytesToReturn
@return string
Generate pseudo random bytes as last resort