Try OpenEdge Now
skip to main content
New Information
OpenEdge ABL : Support for HMAC SHA algorithms in MESSAGE-DIGEST function
 

Support for HMAC SHA algorithms in MESSAGE-DIGEST function

The MESSAGE-DIGEST function now supports HMAC (Hash-based Message Authentication Code) algorithms. The additional algorithms include HMAC-SHA-1, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512. The size of the resulting message digest depends on the algorithm selected, as described in the following table:
Hash algorithm
Return value
HMAC-SHA-1
RAW 20-byte binary message digest
HMAC-SHA-256
RAW 32-byte binary message digest
HMAC-SHA-384
RAW 48-byte binary message digest
HMAC-SHA-512
RAW 64-byte binary message digest