lua-users home
lua-l archive

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


Hi,

Source code attached. Not well tested! :)

Milano

From: PA <petite.abeille@gmail.com>
Reply-To: Lua list <lua@bazar2.conectiva.com.br>
To: Lua list <lua@bazar2.conectiva.com.br>
Subject: Re: CRC32 module?
Date: Mon, 7 Feb 2005 11:39:17 +0100


On Feb 07, 2005, at 11:26, Milano Carvalho wrote:

I have a MPEG-2 System library that has functions for decoding and encoding CRC32 fields. But these functions are hidden for the end user. If you want it is very simple to provide these functions in a separate module.

Yes! I want!!! Give me, give me :)

What I would like to do is to easily compute a numeric hash for a given string, e.g.:

local aHash = crc32.hash( "someString" )

Would that be easy to do?

Thanks!

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/


Attachment: crc32.tar.gz
Description: GNU Zip compressed data