I'm trying to generate a base64 hash based on two inputs - a message and a key, both being strings, using HMAC SHA256. I've spent hours looking for answers and did come across a few sites or other posts on Stack Overflow, but unfortunately none seem to be what I need.
Is it possible to code a function myself on VBA? I'm using Mac so those CreateObject commands I saw elsewhere won't be available.
Here is what I found so far that I think could be relevant - hope it helps others who are trying to achieve the same using other languages or Windows.
http://www.vbforums.com/showthread.php?635398-VB6-HMAC-SHA-256-HMAC-SHA-1-Using-Crypto-API