Using SQL Server 2005 Symmetric key to encrypt the credit cardnumber. All setup steps have been completed. I have tested using SQL query and verified that the encryption works.
In the program (VBScript); I coded this statement;
rsOrderHeader("cc_number_encrypt") = EncryptByKey(Key_GUID("MosasKey"), Trim(Request("cc_number")))
cc_number_encrpyt is defined as varbinary(256)
I'm getting an error; "Type mismatch: 'Key_GUID' "
what is wrong with the statement?
In the program (VBScript); I coded this statement;
rsOrderHeader("cc_number_encrypt") = EncryptByKey(Key_GUID("MosasKey"), Trim(Request("cc_number")))
cc_number_encrpyt is defined as varbinary(256)
I'm getting an error; "Type mismatch: 'Key_GUID' "
what is wrong with the statement?