private function algorithmIsSymmetric(string $algorithm) : bool
    {
        return in_array($algorithm, [Algorithms::SHA256, Algorithms::SHA384, Algorithms::SHA512]);
    }
private function algorithmIsSymmetric(string $algorithm) : bool
    {
        return in_array($algorithm, [Algorithms::SHA256, Algorithms::SHA384, Algorithms::SHA512]);
    }
private function algorithmIsSymmetric ( string $ algorithm ) : bool { return in_array ( $ algorithm , [ Algorithms :: SHA256 , Algorithms :: SHA384 , Algorithms :: SHA512 ] ) ; }
Gets whether or not an algorithm is symmetric

@param string $algorithm The algorithm to check
@return bool True if the algorithm is symmetric, otherwise false
Gets whether or not an algorithm is symmetric