Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPEncryption question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01136407
Message ID:
01137498
Views:
27
>Craig,
>
>Alex Feldstein recommended me to use your VFPEncryption.FLL for encryption/decryption. I download the zip and read the documentation. It works great! However, I do have one question. When I decrypt it with the wrong key, the function doesn't throw any exception or SetLastError, how do I determine whether a wrong key is entered? In other words, how do I know it decrypted correctly?

The known string that Dragan refers to is often the hash of the password itself. The user then supplies the password, it gets hashed, and then the hash is compared with the stored hash of the password. If the hashes match then the password is ok. The VFP encryption library from Craig includes hashing functions. The hash is not reversible back to the original password.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform