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)
		));
	}