encryption - SQLCipher error: sqlite3_key is undefined -


using:

sqlite3_key(db, "test123", 7); 

throws ||sqlite3_key undefined|| error, added sqlite3.h file , has method.
realize there comment whit hint above.

** specify key encrypted database.  routine should ** called right after sqlite3_open(). ** ** code implement api not available in public release ** of sqlite. 


wrong?

your application not including cflag -dsqlite_has_codec make sqlite3_key available @ compile time, please check that. more information on sqlcipher build process, please see this page.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -