lua-users home
lua-l archive

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


Source code attached. Not well tested! :)


From: PA <>
Reply-To: Lua list <>
To: Lua list <>
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?



PA, Onnay Equitursay

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