Hi all,
I am new to lua and I need to get hmac-sha256 (that I used to do with misc module) in content_by_lua_block. I do not want require additional modules because the functionality is already there, so I’d like to use it, while I couldn’t find in any documentation how to get there.
On a side note, how do I enumerate/print all properties (variables and functions) of an object? I want to inspect ngx, but whatever I do I have 500 with “bad argument #1 to 'print' (non-array table found)”.
Thank you.