lua-users home
lua-l archive

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


My xyssl binding has basic support for X509(as well as AES/3DES). It is possible that luasec may have it too.

Both binding should meet the need.

--- On Tue, 3/16/10, Valerio Schiavoni <valerio.schiavoni@gmail.com> wrote:

> From: Valerio Schiavoni <valerio.schiavoni@gmail.com>
> Subject: Re: private/public key support ?
> To: "Lua list" <lua@bazar2.conectiva.com.br>
> Date: Tuesday, March 16, 2010, 2:47 AM
> Hello Luiz,
> what I want to do is private/public encrypt/decrypt, and
> not simple
> SHA-1 hashing. Does your code help with that as well?
> 
> 
> On Mon, Mar 15, 2010 at 1:56 PM, Luiz Henrique de
> Figueiredo
> <lhf@tecgraf.puc-rio.br>
> wrote:
> >> I've found what I was looking for:
> >>
> >> http://luaforge.net/frs/?group_id=394&release_id=1120
> >>
> >> it's "very" slow because it's in pure Lua, but
> it's exactly what I was
> >> searching.
> >> Maybe some C-backed implementation would be
> better..
> >
> > You can combine my lmd5 (which also supports SHA1)
> with my lbc, which does
> > arbitrary precision arithmetic, including modular
> exponentiation. See
> >        http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lmd5
> >        http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbc
> >
>