src/Token.php
public static function generator( $length = 32 ) {
		$out = Hash::base64( Route::HTTP_HOST() . random_bytes( $length ), 1 );

		return $out;
	}
public static function generator( $length = 32 ) {
		$out = Hash::base64( Route::HTTP_HOST() . random_bytes( $length ), 1 );

		return $out;
	}
public static function generator ( $ length = 32 ) { $ out = Hash :: base64 ( Route :: HTTP_HOST ( ) . random_bytes ( $ length ) , 1 ) ; return $ out ; }
Random token generator.

@param int $length

@return string
@throws \Exception
Random token generator .