IEC_BACNET_KEY_ID_ALGORITHM (ENUM)ΒΆ

TYPE IEC_BACNET_KEY_ID_ALGORITHM :

Definition of the BACnetKeyAlgorithm enumeration which specifies the used encryption algorithm.

InOut:

Name

Initial

Comment

_KEY_ID_ALGORITHM_MAX_SIZE

16#7F

KEY_ID_ALGORITHM_MD5

0

The MD5 hash algorithm is defined by RFC1321. MD5 is included in the BACnet security framework as it is less computationally expensive than SHA-256. Sites whose security policies do not require SHA-256 may get better performance by using MD5. All secure BACnet devices shall support MD5 for use as a secure hash algorithm.

KEY_ID_ALGORITHM_SHA_256

1

The SHA-256 hash algorithm is defined in NIST FIPS180-2. This algorithm is more computationally intensive than MD5, but is included in the BACnet security framework for use at sites that require it. All secure BACnet devices shall support SHA-256 for use as a secure hash algorithm.

KEY_ID_ALGORITHM_INVALID

16#7F

This value indicates that no valid encryption algorithm is selected.