src/mako/security/Key.php
public static function decode(string $key): string
	{
		if(strpos($key, 'hex:') === 0)
		{
			return hex2bin(mb_substr($key, 4, null, '8bit'));
		}

		return $key;
	}
public static function decode(string $key): string
	{
		if(strpos($key, 'hex:') === 0)
		{
			return hex2bin(mb_substr($key, 4, null, '8bit'));
		}

		return $key;
	}
public static function decode ( string $ key ) : string { if ( strpos ( $ key , 'hex:' ) === 0 ) { return hex2bin ( mb_substr ( $ key , 4 , null , '8bit' ) ) ; } return $ key ; }
Converts a hexadecimal key into its binary representation.

@param  string $key Encoded key
@return string
Converts a hexadecimal key into its binary representation .