Improved sqlite3crypto.c