encryption
Kenneth Brody
kenbrody at gmail.com
Wed Jan 27 11:15:46 PST 2010
On 1/27/2010 1:59 PM, Richard Kreiss wrote:
[...]
> Type="AES"
> Cassie=Primary Key (lookup to a master record
> Special=nonce (VNQ1Z99891)
> Number= card number with spaces removed
>
> En(20,*)=encrypt(number,type,cassie,special)
>
> Un(20,*)=decrypt(number,type,cassie,special)
I am assuming that you are passing the encrypted number, and not the raw
number, to decrypt().
> Anyone have any idea why this would work 4,996 times and not on 4 records?
>
> Until I solve this problem, I can't go live with this.
Try narrowing it down, to see if a simple test fails as well.
ty = "AES"
ca = "actual_primary_key"
sp = "VNQ1Z99891"
nu = "actual_credit_card_number"
en = encrypt(nu,ty,ca,sp)
un = decrypt(en,ty,ca,sp)
mesgbox nu & "\n" & en & "\n" & un
Contact fpsupport, and send them the actual values for "number", "type",
"cassie", and "special", so they can see if they can duplicate it.
(If the simple test fails, then send just that test. Otherwise, you may
need to make arrangements to send the actual file.)
--
Kenneth Brody
More information about the Filepro-list
mailing list