private static function isAlgorithmSupported($method) { return array_key_exists($method, self::getSupportedMethods()); }