Software /
code /
verse
File
libs/encodings.lua @ 354:58cd27b74ba5
Almost a SASL framework, supports negotiation and challenge-response, mechanism code split out into util/sasl/
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Sep 2014 18:59:34 +0200 |
parent | 130:5de7f66e4168 |
child | 391:b496f0262a3f |
line wrap: on
line source
local function not_impl() error("Function not implemented"); end local mime = require "mime"; module "encodings" stringprep = {}; base64 = { encode = mime.b64, decode = not_impl }; --mime.unb64 is buggy with \0 return _M;