Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to work with VFP and MD5 hashing
Message
 
 
To
26/02/2005 10:10:22
Dick Day
Madison County, Nebraska
Nebraska, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00990872
Message ID:
00990894
Views:
26
Hi Dick,

MD5 produces 128-bit "fingerprint" or "message digest" of the input. It would be 16 bytes if you store it as binary. Usualy it is stored as 32 bytes hexa-decimal string. Storing it in 128 bytes character field will add extra spaces to it which you've to take into account.

>I have an application that needs to store an encrypted 9-digit number. MD5 provides the necessary one-way encryption we want. I'm using MD5 for VFP from the RSA Data Security. The white paper that came with it didn't give much detail about necessary syntax. I'm am storing the hashed number in a character field,128 bytes in length. I get very inconsitent results when attempting to find a stored number.
>Does anyone out there have any experience with MD5 and VFP? I"m not sure what field types the hashed data should be stored in or the length it should be which may account for my hit-and-miss retrieval attemtps.
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform