crc, a complete and powerful checksum function that can be fully configured: - key is the polynomial (use "" for the default crc32 0x77073096) - ivec contains: - the size of the crc (8/16/32/64) - the initial value (like -1) - the final xor value (-1, the complement) - the type (various supported, check crc_calc in src/crc.c) - the reverse/reflect mode during the generation of the table (0 or 1) - the bitmask_side (0 or 1 where 1 is the most used one) default values: 0xedb88320 32 -1 -1 0 0 1 if you need the classical crc16 (0xc0c1) use: encryption crc 0xa001 "16 0 0 0 0 1" or encryption crc "" 16 the result is placed in the variable QUICKBMS_CRC example for type 39: encryption crc 0 "0 0 0 39 0 1" for additional info: http://aluigi.org/bms/quickbms_crc_engine.txt for technical information about the operations check the crc_calc function in crc.c, it's quite easy to understand because it contains the simple operations performed in each cycle. note that some crc types use the polynomial value as constant in each cycle crc64 and 64bit crc work with quickbms_4gb_files.exe only

So the CRC engine will generate a crc 32bit table starting from the polynomial 0x01800063.

The next 2 values (0 and 0) are the initial and final values used for CRC calculation, usually the classical crc function is like the following:

So the CRC engine will generate a crc 32bit table starting from the polynomial 0x01800063.The next 2 values (0 and 0) are the initial and final values used for CRC calculation, usually the classical crc function is like the following:

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum