lua-users home
lua-l archive

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

On Sat, 2010-11-06 at 09:09 +1000, wrote:
> Greetings all,
> Joseph Stewart wrote:
> > source, but what can't you do with 32-bit values that you need to do?
> Strong encryption ?
> In block cyphers, you need lots of XOR ops, and block sizes of
> 32 bits are inherently vulnerable but 64 bits are very tough...

Not sure if it is a good idea to do encryption in pure Lua - of course
you CAN do it, but IMHO it is better to "leave it to the experts" and
use existing cryptography libraries, like OpenSSL (which even come with
cryptography hardware support). It is available in Lua through luacrypto
( - my fork which enables
cryptography routines)