Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

crc 16/32?

 [1/5] from: eric::ehrichweiss::com at: 16-Mar-2005 17:01


Anyone know of any crc routines already written for Rebol? I need both 16 and 32 bit versions.

 [2/5] from: tom::conlin::gmail::com at: 16-Mar-2005 14:09


'checksum may be what you need, it has several refinements On Wed, 16 Mar 2005 17:01:23 -0500, Eric Haddix <[eric--ehrichweiss--com]> wrote:
> Anyone know of any crc routines already written for Rebol? I need both > 16 and 32 bit versions. > -- > To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject. >
-- ... nice weather eh

 [3/5] from: eric::ehrichweiss::com at: 18-Mar-2005 15:08


Thanks. I'll check it out ASAP. I surely didn't wanna rewrite code that was already in existence. Tom Conlin wrote:

 [4/5] from: eric::ehrichweiss::com at: 19-Mar-2005 9:55


Well upon searching I never did find a method for checksum that does crc32 but I did find http://www.codeur.org/forum/edit_msg.php?ID=10692&theme=17 which has a crc32 function but you have to remove the gzip encoding. Eric Haddix wrote:

 [5/5] from: vincent_ecuyer::yahoo::com at: 19-Mar-2005 17:13


You should check %rebzip.r on rebol.org too, the crc-32 function used in is an updated version of the one in %gzip.r (the crc is computed with integer! instead of binary!) http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=rebzip.r You can strip all code following the 'crc-32 function, it isn't relevant to the computation. Note: computing the crc32 is quite slow for big files. REBOL is missing fast bitwise operations (right/left shifting). --Vincent Découvrez nos promotions exclusives "destination de la Tunisie, du Maroc, des Baléares et la Rép. Dominicaine sur Yahoo! Voyages :