Private/Polyfony/Keys.php
public static function compare($key=null, $mixed=null) {
		// if no key is provided
		if(!$key || strlen($key) != 20) {
			// return false
			return(false);	
		}
		// if keys do match
		return(self::generate($mixed) == $key ?: false);
	}
public static function compare($key=null, $mixed=null) {
		// if no key is provided
		if(!$key || strlen($key) != 20) {
			// return false
			return(false);	
		}
		// if keys do match
		return(self::generate($mixed) == $key ?: false);
	}
public static function compare ( $ key = null , $ mixed = null ) { // if no key is provided if ( ! $ key || strlen ( $ key ) != 20 ) { // return false return ( false ) ; } // if keys do match return ( self :: generate ( $ mixed ) == $ key ? : false ) ; }
compare a key with a new dynamically generated one
compare a key with a new dynamically generated one