lua-users home
lua-l archive

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


I'm trying to track down a reasonably up to date cross platform ( linux/win ) crypto library which works with 5.3 and has a commercially viable license. So far I've looked at

https://github.com/libtom/lcrypt - It claims that the license was changed to LGPL which might fly but COPYING is still GPLv2 which is pretty much a no go. Doesn't look like it would be easy to get running on Windows as well.

https://github.com/mkottman/luacrypto - This seems to basically work although it is missing some functionality like BLOWFISH that I need. It also has a problem where it causes lua_close to crash if all I do is require the module. I think this is related to the way the module metatables are left on the stack combined with a call to lua_settop. I haven't dug into exactly what's going but converting to 5.3 style modules is probably a start - if anyone else has done this work please let me know.

http://luacrypto.luaforge.net/ - 11 years old and very limited in scope.

Are there any other modules I'm missing that I should check out?