MacAlgorithm

(Optional parameter) Value that specifies the MAC Algorithm (0400,0015). This is the algorithm which should be used in generating the MAC. Possible values are:

Value

Meaning

DICOM_MAC_ALGORITHM_RIPEMD160

[0] Use the RACE Integrity Primitives Evaluation (RIPEMD-160) hash function (recommended).

DICOM_MAC_ALGORITHM_SHA1

[1] Use the Secure Hash Algorithm (SHA-1) hash function.

DICOM_MAC_ALGORITHM_MD5

[2] Use the Message Digest – 5 (MD5) hash function.

The default value of this parameter is DICOM_MAC_ALGORITHM_RIPEMD160.