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
Post a Comment