[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: private/public key support ?
- From: Valerio Schiavoni <valerio.schiavoni@...>
- Date: Mon, 15 Mar 2010 19:47:20 +0100
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
>