
June 29th, 2005, 01:58 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 1
Time spent in forums: 1 m 12 sec
Reputation Power: 0
|
|
Inserting blob data ( C++ / Sqlite3 )
Greetings all! 
Im having a problem, well not yet, but I think it will be. Im using sqlite3 and C++ to create a simple database application. Im writing data as blobs.
The thing is my blobs get encrypted with some simple xor encryption before being written to the database.
What I need to know is how I would insert the data into the table?
Normally I use sql 'insert into' but I dont know what the content of the blob is after encryption. The blob I wish to write could contain a ')' character and cause the insert to end prematurely.
How would I prevent this?
Thank you!
|