public static function isSymmetric($algorithm) : bool
    {
        if (!self::has($algorithm)) {
            throw new InvalidArgumentException("Algorithm \"$algorithm\" is not valid");
        }

        return in_array($algorithm, [Algorithms::SHA256, Algorithms::SHA384, Algorithms::SHA512]);
    }