lua-users home
lua-l archive

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


On Po, 2010-04-12 at 01:19 +0200, Valerio Schiavoni wrote: 
> On Mon, Apr 12, 2010 at 1:14 AM, dcharno <dcharno@comcast.net> wrote:
>         Valerio Schiavoni wrote:
>                 i'm looking for a fast AES implementation which
>                 provides Lua bindings. 

>         I've used Luacrypto which provides a front-end for OpenSSL.
>         
>         http://luacrypto.luaforge.net/
>         
> I know it does, but not for AES:
> http://luacrypto.luaforge.net/manual.html#reference

Hi,

I took the risk of duplicating someone's work and implemented the
encryption and decryption in LuaCrypto. The work-in-progress code can be
found at http://github.com/mkottman/luacrypto 

Please consider it beta quality, I've done a lot of copypasting within
the code, although the included test shows that it is capable of
encrypting "Hello world!" using AES and then decrypting it successfully.

I have partly updated the docs/reference, it is available at
http://mkottman.github.com/luacrypto/manual.html

I hope this will be useful to someone.

Michal