summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty/md5.lua
blob: de82b49e9e3786c2321228dcb3eddd031f1c88d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---@meta

---@class resty.md5 : resty.string.checksum
local md5={}

--- Create a new md5 checksum object.
---@return resty.md5
function md5:new() end

--- Add a string to the md5 checksum data
---@param  s       string
---@param  len?    number Optional length (defaults to the length of `s`)
---@return boolean ok
function md5:update(s, len) end

return md5