private static function isAlgorithmSupported($algorithm) { return array_key_exists($algorithm, self::getSupportedAlgorithms()); }