summaryrefslogtreecommitdiff
path: root/meta/3rd/OpenResty/library/resty.sha256.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/OpenResty/library/resty.sha256.lua')
-rw-r--r--meta/3rd/OpenResty/library/resty.sha256.lua16
1 files changed, 9 insertions, 7 deletions
diff --git a/meta/3rd/OpenResty/library/resty.sha256.lua b/meta/3rd/OpenResty/library/resty.sha256.lua
index 4cf8441a..29e00eeb 100644
--- a/meta/3rd/OpenResty/library/resty.sha256.lua
+++ b/meta/3rd/OpenResty/library/resty.sha256.lua
@@ -1,8 +1,10 @@
---@meta
-resty_sha256={}
-function resty_sha256.final(self) end
-function resty_sha256.new(self) end
-function resty_sha256.reset(self) end
-resty_sha256._VERSION="0.11"
-function resty_sha256.update(self, s) end
-return resty_sha256 \ No newline at end of file
+
+---@class resty.sha256 : resty.string.checksum
+local sha256={}
+
+--- Create a new sha256 checksum object.
+---@return resty.sha256
+function sha256:new() end
+
+return sha256 \ No newline at end of file