aboutsummaryrefslogtreecommitdiffstats
path: root/server/resty/session/ciphers/none.lua
blob: b29bb88170e4fda3c9319cb24697f6f539ff43e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
local cipher = {}

function cipher.new()
    return cipher
end

function cipher.encrypt(_, data, _, _)
    return data
end

function cipher.decrypt(_, data, _, _, _)
    return data
end

return cipher