[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How to encrypt/decrypt file using luaL_loadfile()
- From: Dive Florida <divefloridaus@...>
- Date: Mon, 4 Jun 2007 18:06:48 -0700 (PDT)
I need to parse encrypted file inside luaL_loadfile(). I know it can be done by writing my own lua_Reader(), but there are 2 issues here:
1. How can I free the memory returned by lua_Reader(allocated inside lua_Reader)?
2. How to know where the first block is? I need to get the key in the first block to decrypt the data.
Thanks.
Shape Yahoo! in your own image.
Join our Network Research Panel today!