.. _param-mmrfc5424addhmac-hashfunction:
.. _mmrfc5424addhmac.parameter.action.hashFunction:

hashFunction
============

.. index::
   single: mmrfc5424addhmac; hashFunction
   single: hashFunction

.. summary-start

Specifies the OpenSSL hash algorithm used for the HMAC.

.. summary-end

This parameter applies to :doc:`../../configuration/modules/mmrfc5424addhmac`.

:Name: hashFunction
:Scope: action
:Type: string
:Default: none
:Required?: yes
:Introduced: 7.5.6

Description
-----------
An OpenSSL hash function name for the function to be used. This is passed on to
OpenSSL, so see the OpenSSL list of supported function names.

Action usage
------------
.. _param-mmrfc5424addhmac-action-hashFunction:
.. _mmrfc5424addhmac.parameter.action.hashFunction-usage:

.. code-block:: rsyslog

   action(type="mmrfc5424addhmac" hashFunction="sha256")

See also
--------
See also :doc:`../../configuration/modules/mmrfc5424addhmac`.

