lua-users home
lua-l archive

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

On Tue, 21 Jul 2009 16:39:59 +0800
Jacques Chester <> wrote:

> As part of a project I am developing I am planning to use SHA1 HMAC  
> digests.
> LuaCrypto advertises the ability to do these by wrapping OpenSSL.

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 :)