Database encryption. I directly imported sqlite3.h and sqlite3.c of sqlcipher into the project for database encryption, but there is no openssl reported here.
However, I saw that the official tutorial did not say that you need to add openSSL. Anyone know how to solve it?
滿天的星座2017-05-02 09:33:22
Thanks for the callback upstairs, but this is not the case. I have found a solution to this problem myself. Link address: http://www.jianshu.com/p/bd78.... But now I have encountered a problem. How to view the encrypted database? Does anyone know?
世界只因有你2017-05-02 09:33:22
https://github.com/sqlcipher/sqlcipher
Looking at it, the writing is very clearREADME
You need to link against a OpenSSL's libcrypto
The link you need. OpenSSL
的libcrypto
$ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" \
LDFLAGS="-lcrypto"
$ make