9951 explained code solutions for 126 technologies


nginx-luaCalculating md5


server {
  location / {
    content_by_lua_block {
      local sign = ngx.md5('Hi all')
    }
  }
}ctrl + c
ngx.md5

returns md5 for specified string

'Hi all'

string to calculate md5 for

sign

this variable will store generated md5

content_by_lua_block

nginx-lua module directive to specify block of Lua code