lua-users home
lua-l archive

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


Hi folks

a little crypto package is available at http://luaforge.net/projects/sln/,
providing SHA-1 and blowfish (a fast block cipher).
See the test script for details.

Data:
The package adds about 7.5K of code on an intel,
mostly due to the >4K blowfish init table.
This blowfish encrypts >10MB/sec, which should be
enough for most practical purposes.
The package itself is lua licensed, but the blowfish
contains LGPL code from Paul Kocher (ask him).
Might require tweaking on 16 bit platforms or
where there is no uint64_t.
For recent status of SHA-1 refer to
http://www.schneier.com/blog/archives/2005/02/sha1_broken.html


enjoy
Klaus