Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieve values from the Checksum (sys(2017))
Message
From
28/05/2005 10:15:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Pro
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018348
Message ID:
01018357
Views:
11
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform