Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare 2 text files using checksum
Message
De
15/11/2009 05:34:59
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01434733
Message ID:
01434811
Vues:
56
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform