lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Jan 11, 2006, at 23:43, Diego Nehab wrote:

in fact, i haven't really read the digest authentication specification; i
can't claim to understand it.

I think all you need is base64 encoding (LuaSocket gives that to you)
and md5 (Roberto used to have a library for that). It's very similar to
the basic.

Here is an example implementation:

http://dev.alt.textdrive.com/file/LW/LWDigestAuthentication.lua

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/