gillrowley
Programmer
I have a table that contains encrypted social security numbers and other data. I'm trying to extract these SSNs onto a webpage. I pass an unencrypted SSN to a stored procedure, and the sproc encrypts the parameter, and searches the table for any matches. I come up empty in my search. Upon inspection I see that multiple table records with the same SSN have different values in the encrypted field (SSN is not a primary key). If I query the table unencrypting the SSNs during the search, and matching the unencrypted records with the unencrypted parameter, then I get successful results. This takes longer, since the table has over 3 million records.
Is it possible to accomplish this task somehow using my first method? Different encyrption technique, perhaps? I had created the symmetric key with a certificate using the DES algorithm.
Thanks
Gill
Is it possible to accomplish this task somehow using my first method? Different encyrption technique, perhaps? I had created the symmetric key with a certificate using the DES algorithm.
Thanks
Gill