There is a Node.JS code which creates a signature for Azure.
var signature = crypto.createHmac("sha256", key).update(body).digest("base64");
How can I create the same signature using LUA. (I think I need to use Lua-Lockbox for this)
https://github.com/somesocks/lua-lockbox
I can see it has Hmac, sha256 and base64 primitives but I'm not sure how I can implement this code as LUA
Is there any clue?