Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieve values from the Checksum (sys(2017))
Message
De
28/05/2005 10:15:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Divers
Thread ID:
01018348
Message ID:
01018357
Vues:
12
>Hi !
>
>Is it possible to retrieve the data from the checksum field [SYS(2017)] ?
>
>Thanks
>
>Ravi Mehrotra

sys(2017) shows the startup screen. The checksum function is 2007.

And no, that is not the way a Checksum works. Different strings of indefinite length are all assigned a 2-byte value. Therefore, it is obvious that different strings can result in the same checksum.

The idea of a checksum is to check the validity of a password, for example. You can "encrypt" the required password with the checksum function (note: I don't think the standard checksum is particularly safe for this), and then check the checksum of the password provided by the users. If the two are the same, it is very probable that the correct password was provided.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform