Encryption of Credit Card Numbers
Posted: Wed Feb 17, 2010 5:23 pm
I received this by private email. I am posting it here so everyone can see this.
"The Plan" was to,
1. Get the Credit Card info
2. ENCRYPT the data string when SAVING the Client Record
3. Save the Encrypted String in the Client DBF Record
4. Retrieve it by pressing the "Decrypt" button while editing
I tested this using your sample in \exp19\samples\encrypt
It works ONCE both in encrypting and decrypting. I skip to the next record and try the same function and I get the error "Internal data structure corrupted", in both functions, at 2nd to last line "dllExecuteCall(scCall, instr/cKey. @cOutput)". Attached most of the code, the DBF, and xpperror.log.
"The Plan" was to,
1. Get the Credit Card info
2. ENCRYPT the data string when SAVING the Client Record
3. Save the Encrypted String in the Client DBF Record
4. Retrieve it by pressing the "Decrypt" button while editing
I tested this using your sample in \exp19\samples\encrypt
It works ONCE both in encrypting and decrypting. I skip to the next record and try the same function and I get the error "Internal data structure corrupted", in both functions, at 2nd to last line "dllExecuteCall(scCall, instr/cKey. @cOutput)". Attached most of the code, the DBF, and xpperror.log.