[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: CRC32 module?
- From: PA <petite.abeille@...>
- Date: Mon, 7 Feb 2005 13:23:17 +0100
On Feb 07, 2005, at 12:28, Milano Carvalho wrote:
Source code attached. Not well tested! :)
Excellent! Works like a charm :)
local anUUID = uuid.new( "time" )
print( anUUID, os.date( "%x", uuid.time( anUUID ) ) )
-> 906478e6-7902-11d9-b30f-394bb8420c03 02/07/05
local aDigest = md5.digest( anUUID )
print( aDigest )
-> 59f8f15c5d60508e5c0019843237fecf
local anHash = crc.calc( anUUID )
print( anHash )
-> 2581340491
Thanks a lot! :)
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/