Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare 2 text files using checksum
Message
From
15/11/2009 05:34:59
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01434733
Message ID:
01434811
Views:
57
>The SYS(2007) function can create crc16 or crc32 depending on the parameter passed. At most it can return 2^16-1 and 2^32-1 different values respectively. It's quite possible that 2 files can have the same checsum returned by SYS(2007). I would recomend to use one of the Hash algorithm that return longer digest of the file. You can use Craig Boyd's Vfpencryption.fll to generate MD5 or stronger hash.
>
Wouldn't that be 2^16 and 2^32 ?
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform