Skip to content

Latest commit

 

History

History
13 lines (6 loc) · 225 Bytes

README.md

File metadata and controls

13 lines (6 loc) · 225 Bytes

a symmetric encryption function for ngx_lua

It supports setting the expiration time

Synopsis

local AuthCode = require("AuthCode")

local r = AuthCode("test","ENCODE","AKey",2)

local r = AuthCode(r,"DECODE","AKey")