openresty / lua-resty-string

String utilities and common hash functions for ngx_lua and LuaJIT
429 stars 143 forks source link

AES GCM with AAD support #98

Open wzxjohn opened 1 year ago

wzxjohn commented 1 year ago

Currently aes.lua only support AES GCM with tag, but does not support AAD (Additional Authenticated Data). Could someone please add AAD support in AES GCM mode?