Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFPEncryption Decrypt Anomaly
Message
From
09/06/2006 21:04:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
VFPEncryption Decrypt Anomaly
Miscellaneous
Thread ID:
01128242
Message ID:
01128242
Views:
90
I am trying to implement the VFPEncryption from Craig Boyd and have run into some problems. I am trying to encrypt credit card data and bank account data for my customer database.

It seems that every so often i get an error message when I call the decrypt function. The error message says that the "API call caused an exception. - (0)"

This happens very randomly on my data (99% is correct), but it will be very consistent on the 1 % that is wrong. If I encrypt my data again using a different key, the error will occur on a different record. I have tried padding my data to the length of the key, but that has not helped. I have tried various encryption modes and types, but that has not changed anything either.

I am also using STRCONV() to code/encode the data to base64 binary to overcome the problem with CHR(0) in the data.

Any suggestions would be appreciated!

Thanks!
Carsten Thode
Carsten M. Thode
Next
Reply
Map
View

Click here to load this message in the networking platform