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,
providing SHA-1 and blowfish (a fast block cipher).
See the test script for details.

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