[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: CRC in lua
- From: PA <petite.abeille@...>
- Date: Wed, 14 Jun 2006 17:06:05 +0200
On Jun 14, 2006, at 16:25, Imrahil wrote:
hi everybuddy. does anyone know how to do a calculate a CRC fo a block
of
binary data using lua ??
Milano Carvalho posted an handy CRC32 module a while back:
http://lua-users.org/lists/lua-l/2005-02/msg00232.html
E.g.:
local crc = require( "crc" )
print( crc.calc( "abc" ) )
> 2608022668
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/