I would recommend the free Crypto++ library. Here’s a sample for HMAC.
Comment
Save my name, email, and website in this browser for the next time I comment.