lua-users home
lua-l archive

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


Thanx a lot! That really helped!

Thomas Lauer escreveu:
Luís Santos <lsantos@itquality.com.br> wrote:
  
I am trying to extend the new 'modules' feature by allowing the 
'require' function to load encrypted lua files.
    
require(), in the end, loads a Lua module via luaL_loadfile() which in
its turn uses something called a lua_Reader (see the doc). This is a
hook where you can do all sorts of things, among them decryption and
decompression.

And you will have to add an encryption layer to the Lua compiler.

  

--
Luís Eduardo Jason Santos
Coordenador Técnico
IT Quality Systems
lsantos@itquality.com.br
[21]2242-7959 ramal 49