Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Checksum to encode/decode a string..
Message
De
27/10/2003 13:14:39
 
 
À
27/10/2003 08:05:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00842846
Message ID:
00843141
Vues:
30
>I use STRCONV([test123],13) to encode, STRCONV([test123],14) to decode.
>See the VFP help


Jose:

Note that this is just a conversion between plain text and Base64. It is not data encryption by any means.

Tim's question was about the use of a checksum with SYS(2007). A checksum is a simple (not super accurate) way to compare two strings to see they are the same. It could be used to compare passwords or the contents of a file to detect tampering. It is feasible to create a string that will match a checksum though. A better way is to use strong encryption in the form of a hash (MD5 for example). Note that a hash, (and checksum) are one-way values (i.e. you cannot get the original text back).

HTH


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform