AuthCode function for ngx_lua
Lua
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
AuthCode.lua
README.md

README.md

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")