public static function getMnemonic(int $algorithmId)
    {
        if (!array_key_exists($algorithmId, self::$mnemonic)) {
            throw new \InvalidArgumentException(sprintf('"%d" id not a valid algorithm.', $algorithmId));
        }

        return self::$mnemonic[$algorithmId];
    }
public static function getMnemonic(int $algorithmId)
    {
        if (!array_key_exists($algorithmId, self::$mnemonic)) {
            throw new \InvalidArgumentException(sprintf('"%d" id not a valid algorithm.', $algorithmId));
        }

        return self::$mnemonic[$algorithmId];
    }
public static function getMnemonic ( int $ algorithmId ) { if ( ! array_key_exists ( $ algorithmId , self :: $ mnemonic ) ) { throw new \ InvalidArgumentException ( sprintf ( '"%d" id not a valid algorithm.' , $ algorithmId ) ) ; } return self :: $ mnemonic [ $ algorithmId ] ; }
Get the associated mnemonic of an algorithm.

@param int $algorithmId

@return string

@throws \InvalidArgumentException
Get the associated mnemonic of an algorithm .