Article

Does OpenEdge ABL support the HMAC hashing algorithm?

« Go Back

Information

 
Article Number000043232
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Question/Problem Description
Does OpenEdge ABL support the HMAC-SHA256 encryption hashing algorithm?

Does the MESSAGE-DIGEST function support HMAC-SHA256?

Can HMAC be used with SHA-1 or MD5 hashing algorithms in ABL?
Steps to Reproduce
Clarifying Information
Error Message
Defect/Enhancement Number
Cause
Resolution
OpenEdge does not support the HMAC algorithm directly. ABL functions can be written to provide HMAC values with supported hashing algorithms as described in the Workaround below.

It was determined that the Progress Product is functioning as designed.
 
An enhancement to the product can be requested through the Progress Community via an Ideas submission.  Customer feedback is valuable and Idea submissions are monitored by our Product Management team.  Enhancement requests are reviewed during the planning phase of each new product release and a list of the enhancements chosen for implementation can be found in the Release Notes documents that accompany each release.  Once an Idea is submitted the Progress Software Community will have the opportunity to comment on and vote for the Idea.
 
For detailed information on how to submit an Idea, please refer to Article 000010839, How to submit an idea for a Progress product enhancement (embedded video).
 
Workaround
ABL functions can be written to provide HMAC values with supported hashing algorithms such as MD5 and SHA-1. The MESSAGE-DIGEST function introduced in OpenEdge 11 is required in order to return HMAC-SHA256 values.

The attached sample code
, was provided courtesy of a Progress customer, can be used to provide HMAC values using MD5, SHA-1 or SHA-256 hashing.   
HMAC-SHA256.7z can be uncompressed with 7-zip (http://www.7-zip.org)
Notes
Attachment
Last Modified Date12/1/2017 3:50 PM


Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025