lua-users home
lua-l archive

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


On Tue, Jul 21, 2009 at 04:55:27PM +0800, Jacques Chester wrote:
> Rob;
> 
> On 21/07/2009, at 4:44 PM, Rob Kendrick wrote:
> >Firstly, if all you are planning on using from LuaCrypto is SHA1, then
> >it may be a bit of a heavy-weight solution; writing your own binding  
> >to
> >an off-the-shelf SHA1 implementation should take about 10 minutes.
> >
> >Secondly, I assume you know that SHA1 is no longer safe to use in new
> >designs :)
> 
> 
> I only want to use SHA1 / luacrypto for a prototype with an eye
> to writing a wrapper for the Skein hashing algorithm at some future
> point.

see slncrypto for a small implementation of SHA-1,
no additional libs needed
http://luaforge.net/forum/forum.php?forum_id=415


cheers
Klaus