Private/Polyfony/Security.php
public static function getSignature($mixed) :string {
		// compute a hash with (the provided string + salt + user agent + remote ip)
		return(hash(Config::get('security','algo'), 
			self::getSafeUserAgent() . self::getSafeRemoteAddress() . 
			Config::get('security','salt') . is_string($mixed) ? $mixed : json_encode($mixed)
		));
	}
public static function getSignature($mixed) :string {
		// compute a hash with (the provided string + salt + user agent + remote ip)
		return(hash(Config::get('security','algo'), 
			self::getSafeUserAgent() . self::getSafeRemoteAddress() . 
			Config::get('security','salt') . is_string($mixed) ? $mixed : json_encode($mixed)
		));
	}
public static function getSignature ( $ mixed ) : string { // compute a hash with (the provided string + salt + user agent + remote ip) return ( hash ( Config :: get ( 'security' , 'algo' ) , self :: getSafeUserAgent ( ) . self :: getSafeRemoteAddress ( ) . Config :: get ( 'security' , 'salt' ) . is_string ( $ mixed ) ? $ mixed : json_encode ( $ mixed ) ) ) ; }
internal method for generating unique signatures
internal method for generating unique signatures