We are sometimes asked by prospective users how SQLCipher compares to other available SQLite encryption tools from a performance and security perspective. Please read the following article to help compare SQLCipher to other SQLite Encryption extensions:
I am wondering the encryption process? Does it encrypt or decrypt the database file page by page in a whole ?
@yep_zhang - SQLCipher encrypts and decrypts the database on a per page basis, but only as needed. If only a few pages are needed to execute a statement, only those pages are in scope. You can see more details on the design page.
So when we type "pragam key = 'aaa‘ " in the command line, it doesn’t encrypt or decrypt the whole database file actually?
Hi @yep_zhang,
Not initially, that only provides the password to be used within PBKDF2 to derive your encryption key (unless you provide a raw key format). Encryption/decryption is deferred until the execution of a SQL command.
I truly appreciate your timely help. 